aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-02 18:46:21 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-02 18:46:21 -0300
commit90387e3e6ddc87029ba1e862f87e4f27623bf360 (patch)
treee9b4170529e365feb4c1ffaefecba283bab48982 /activerecord/test
parent07278519bb6db5579171fea70bccdfee1306f1d4 (diff)
parent29e7e430b735c5e2acaf1634c998ed1bd1651f23 (diff)
downloadrails-90387e3e6ddc87029ba1e862f87e4f27623bf360.tar.gz
rails-90387e3e6ddc87029ba1e862f87e4f27623bf360.tar.bz2
rails-90387e3e6ddc87029ba1e862f87e4f27623bf360.zip
Merge pull request #19177 from gregmolnar/fixtures
Added testcase for #18742
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/fixtures_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/fixtures_test.rb b/activerecord/test/cases/fixtures_test.rb
index 7ef2ebc998..d1add21219 100644
--- a/activerecord/test/cases/fixtures_test.rb
+++ b/activerecord/test/cases/fixtures_test.rb
@@ -327,7 +327,7 @@ if Account.connection.respond_to?(:reset_pk_sequence!)
fixtures :companies
def setup
- @instances = [Account.new(:credit_limit => 50), Company.new(:name => 'RoR Consulting')]
+ @instances = [Account.new(:credit_limit => 50), Company.new(:name => 'RoR Consulting'), Course.new(name: 'Test')]
ActiveRecord::FixtureSet.reset_cache # make sure tables get reinitialized
end