add models for Project, Task, Note, Category
This commit is contained in:
15
test/fixtures/contacts.yml
vendored
Normal file
15
test/fixtures/contacts.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
email: MyString
|
||||
address: MyString
|
||||
geo_long: 1.5
|
||||
geo_lat: 1.5
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
email: MyString
|
||||
address: MyString
|
||||
geo_long: 1.5
|
||||
geo_lat: 1.5
|
||||
15
test/fixtures/notes.yml
vendored
Normal file
15
test/fixtures/notes.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
title: MyString
|
||||
description: MyText
|
||||
pinned: false
|
||||
archived: false
|
||||
project: one
|
||||
|
||||
two:
|
||||
title: MyString
|
||||
description: MyText
|
||||
pinned: false
|
||||
archived: false
|
||||
project: two
|
||||
11
test/fixtures/phone_numbers.yml
vendored
Normal file
11
test/fixtures/phone_numbers.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
phone_number: MyString
|
||||
type: 1
|
||||
contact: one
|
||||
|
||||
two:
|
||||
phone_number: MyString
|
||||
type: 1
|
||||
contact: two
|
||||
11
test/fixtures/project_categories.yml
vendored
Normal file
11
test/fixtures/project_categories.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
title: MyString
|
||||
description: MyText
|
||||
order: 1
|
||||
|
||||
two:
|
||||
title: MyString
|
||||
description: MyText
|
||||
order: 1
|
||||
17
test/fixtures/projects.yml
vendored
Normal file
17
test/fixtures/projects.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
title: MyString
|
||||
website: MyString
|
||||
email: MyString
|
||||
business_type: 1
|
||||
user: one
|
||||
project_category: one
|
||||
|
||||
two:
|
||||
title: MyString
|
||||
website: MyString
|
||||
email: MyString
|
||||
business_type: 1
|
||||
user: two
|
||||
project_category: two
|
||||
19
test/fixtures/tasks.yml
vendored
Normal file
19
test/fixtures/tasks.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
title: MyString
|
||||
description: MyText
|
||||
priority: 1
|
||||
status: 1
|
||||
type: 1
|
||||
due_date: 2025-06-11
|
||||
user: one
|
||||
|
||||
two:
|
||||
title: MyString
|
||||
description: MyText
|
||||
priority: 1
|
||||
status: 1
|
||||
type: 1
|
||||
due_date: 2025-06-11
|
||||
user: two
|
||||
Reference in New Issue
Block a user