add path and path_with_namespace to api project entity
This commit is contained in:
parent
563c55eb7e
commit
193a5624b2
17 changed files with 134 additions and 5 deletions
|
@ -8,7 +8,6 @@
|
|||
# description :text
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# private_flag :boolean default(TRUE), not null
|
||||
# creator_id :integer
|
||||
# default_branch :string(255)
|
||||
# issues_enabled :boolean default(TRUE), not null
|
||||
|
@ -16,6 +15,7 @@
|
|||
# merge_requests_enabled :boolean default(TRUE), not null
|
||||
# wiki_enabled :boolean default(TRUE), not null
|
||||
# namespace_id :integer
|
||||
# public :boolean default(FALSE), not null
|
||||
#
|
||||
|
||||
require 'spec_helper'
|
||||
|
@ -42,7 +42,6 @@ describe Project do
|
|||
describe "Mass assignment" do
|
||||
it { should_not allow_mass_assignment_of(:namespace_id) }
|
||||
it { should_not allow_mass_assignment_of(:creator_id) }
|
||||
it { should_not allow_mass_assignment_of(:private_flag) }
|
||||
end
|
||||
|
||||
describe "Validation" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue