From a2f27385f60292c77e5e29a9568f1888a7c3d214 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sat, 2 Nov 2013 18:13:02 -0200 Subject: [PATCH] Use an already existing fixture --- activerecord/test/cases/enum_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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