Added some models
User Item Department Categorie AssignmentLog Room
This commit is contained in:
15
test/fixtures/assignment_log2s.yml
vendored
Normal file
15
test/fixtures/assignment_log2s.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
item: one
|
||||
user: one
|
||||
room: one
|
||||
assigned_at: 2026-05-21 15:29:43
|
||||
returned_at: 2026-05-21 15:29:43
|
||||
|
||||
two:
|
||||
item: two
|
||||
user: two
|
||||
room: two
|
||||
assigned_at: 2026-05-21 15:29:43
|
||||
returned_at: 2026-05-21 15:29:43
|
||||
15
test/fixtures/assignment_logs.yml
vendored
Normal file
15
test/fixtures/assignment_logs.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
item: one
|
||||
user: one
|
||||
room: one
|
||||
assigned_at: 2026-05-21 14:46:06
|
||||
returned_at: 2026-05-21 14:46:06
|
||||
|
||||
two:
|
||||
item: two
|
||||
user: two
|
||||
room: two
|
||||
assigned_at: 2026-05-21 14:46:06
|
||||
returned_at: 2026-05-21 14:46:06
|
||||
9
test/fixtures/categories.yml
vendored
Normal file
9
test/fixtures/categories.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
description: MyText
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
description: MyText
|
||||
9
test/fixtures/departments.yml
vendored
Normal file
9
test/fixtures/departments.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
code: MyString
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
code: MyString
|
||||
23
test/fixtures/items.yml
vendored
Normal file
23
test/fixtures/items.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
serial_number: MyString
|
||||
sku: MyString
|
||||
sticker_id: MyString
|
||||
price: 9.99
|
||||
notes: MyText
|
||||
category: one
|
||||
user: one
|
||||
room: one
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
serial_number: MyString
|
||||
sku: MyString
|
||||
sticker_id: MyString
|
||||
price: 9.99
|
||||
notes: MyText
|
||||
category: two
|
||||
user: two
|
||||
room: two
|
||||
11
test/fixtures/rooms.yml
vendored
Normal file
11
test/fixtures/rooms.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
building: MyString
|
||||
floor: MyString
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
building: MyString
|
||||
floor: MyString
|
||||
Reference in New Issue
Block a user