diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-11-02 18:13:02 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-11-02 18:13:02 -0200 |
commit | a2f27385f60292c77e5e29a9568f1888a7c3d214 (patch) | |
tree | a14783d30eb3ac12123f8aabf411714ee8b20161 /activerecord/test | |
parent | 6963e8959f67029903e305d29c2856a481418065 (diff) | |
download | rails-a2f27385f60292c77e5e29a9568f1888a7c3d214.tar.gz rails-a2f27385f60292c77e5e29a9568f1888a7c3d214.tar.bz2 rails-a2f27385f60292c77e5e29a9568f1888a7c3d214.zip |
Use an already existing fixture
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/enum_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/enum_test.rb b/activerecord/test/cases/enum_test.rb index 7f5ddc92d4..ad8494d9a1 100644 --- a/activerecord/test/cases/enum_test.rb +++ b/activerecord/test/cases/enum_test.rb @@ -5,7 +5,7 @@ class StoreTest < ActiveRecord::TestCase fixtures :books setup do - @book = Book.create! name: 'REMOTE' + @book = books(:awdr) end test "query state by predicate" do |