1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use an already existing fixture

This commit is contained in:
Carlos Antonio da Silva 2013-11-02 18:13:02 -02:00
parent 6963e8959f
commit a2f27385f6

View file

@ -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