diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-03-02 18:46:21 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-03-02 18:46:21 -0300 |
commit | 90387e3e6ddc87029ba1e862f87e4f27623bf360 (patch) | |
tree | e9b4170529e365feb4c1ffaefecba283bab48982 /activerecord/test | |
parent | 07278519bb6db5579171fea70bccdfee1306f1d4 (diff) | |
parent | 29e7e430b735c5e2acaf1634c998ed1bd1651f23 (diff) | |
download | rails-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.rb | 2 |
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 |