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
3 merge requests!2940Expanding repos and hooks paths in settings,!2877Add groups api,!2636Text Templates for mail notification
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