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:
parent
6963e8959f
commit
a2f27385f6
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class StoreTest < ActiveRecord::TestCase
|
||||||
fixtures :books
|
fixtures :books
|
||||||
|
|
||||||
setup do
|
setup do
|
||||||
@book = Book.create! name: 'REMOTE'
|
@book = books(:awdr)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "query state by predicate" do
|
test "query state by predicate" do
|
||||||
|
|
Loading…
Reference in a new issue