Skip to content
Snippets Groups Projects
Commit 6dba727c authored by Christian Simon's avatar Christian Simon
Browse files

Add test for duplicate group paths

parent 149ccd5d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -83,6 +83,11 @@ describe Gitlab::API do
post api("/groups", admin), attributes_for(:group)
response.status.should == 201
end
it "should not create group, duplicate" do
post api("/groups", admin), {:name => "Duplicate Test", :path => group2.path}
response.status.should == 404
end
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment