Second Commit
This commit is contained in:
19
test/fixtures/books.yml
vendored
Normal file
19
test/fixtures/books.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
title: MyString
|
||||
author: MyString
|
||||
genre: 1
|
||||
sub_genre: 1
|
||||
pages: 1
|
||||
publisher: MyString
|
||||
copies: 1
|
||||
|
||||
two:
|
||||
title: MyString
|
||||
author: MyString
|
||||
genre: 1
|
||||
sub_genre: 1
|
||||
pages: 1
|
||||
publisher: MyString
|
||||
copies: 1
|
||||
0
test/fixtures/files/.keep
vendored
Normal file
0
test/fixtures/files/.keep
vendored
Normal file
7
test/fixtures/libraries.yml
vendored
Normal file
7
test/fixtures/libraries.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
11
test/fixtures/users.yml
vendored
Normal file
11
test/fixtures/users.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
# This model initially had no columns defined. If you add columns to the
|
||||
# model remove the '{}' from the fixture names and add the columns immediately
|
||||
# below each fixture, per the syntax in the comments below
|
||||
#
|
||||
one: {}
|
||||
# column: value
|
||||
#
|
||||
two: {}
|
||||
# column: value
|
||||
9
test/fixtures/users_books.yml
vendored
Normal file
9
test/fixtures/users_books.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
user: one
|
||||
book: one
|
||||
|
||||
two:
|
||||
user: two
|
||||
book: two
|
||||
Reference in New Issue
Block a user