update with changes from Production branch
This commit is contained in:
25
test/fixtures/daily_feeds.yml
vendored
Normal file
25
test/fixtures/daily_feeds.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: daily_feeds
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# channel_id :integer
|
||||
# date :date
|
||||
# calculation :string(20)
|
||||
# result :string(255)
|
||||
# field :integer
|
||||
#
|
||||
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
||||
|
||||
one:
|
||||
channel_id: 1
|
||||
date: 2014-01-21
|
||||
calculation: MyString
|
||||
result: MyString
|
||||
|
||||
two:
|
||||
channel_id: 1
|
||||
date: 2014-01-21
|
||||
calculation: MyString
|
||||
result: MyString
|
19
test/unit/daily_feed_test.rb
Normal file
19
test/unit/daily_feed_test.rb
Normal file
@ -0,0 +1,19 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: daily_feeds
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# channel_id :integer
|
||||
# date :date
|
||||
# calculation :string(20)
|
||||
# result :string(255)
|
||||
# field :integer
|
||||
#
|
||||
|
||||
require 'test_helper'
|
||||
|
||||
class DailyFeedTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
Reference in New Issue
Block a user