Merge pull request #1363 from AlexDenisov/api_create_project_fixes
API create project fixes
This commit is contained in:
commit
7c0a1068bf
4 changed files with 56 additions and 35 deletions
|
@ -11,6 +11,9 @@ module Factory
|
|||
def self.new(type, *args)
|
||||
FactoryGirl.build(type, *args)
|
||||
end
|
||||
def self.attributes(type, *args)
|
||||
FactoryGirl.attributes_for(type, *args)
|
||||
end
|
||||
end
|
||||
|
||||
FactoryGirl.define do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue