Project has now correct owner and creator. Increased test coverage
This commit is contained in:
parent
91995909d9
commit
00a1f5bc2c
15 changed files with 241 additions and 113 deletions
|
@ -9,7 +9,7 @@ FactoryGirl.define do
|
|||
|
||||
sequence(:url) { Faker::Internet.uri('http') }
|
||||
|
||||
factory :user, aliases: [:author, :assignee, :owner] do
|
||||
factory :user, aliases: [:author, :assignee, :owner, :creator] do
|
||||
email { Faker::Internet.email }
|
||||
name
|
||||
username { Faker::Internet.user_name }
|
||||
|
@ -26,7 +26,7 @@ FactoryGirl.define do
|
|||
factory :project do
|
||||
sequence(:name) { |n| "project#{n}" }
|
||||
path { name.downcase.gsub(/\s/, '_') }
|
||||
owner
|
||||
creator
|
||||
end
|
||||
|
||||
factory :group do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue