Permalink
Browse files

Use an already existing fixture

  • Loading branch information...
1 parent 6963e89 commit a2f27385f60292c77e5e29a9568f1888a7c3d214 @carlosantoniodasilva carlosantoniodasilva committed Nov 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit a2f2738

Please sign in to comment.