diff options
| author | Andrey Kumanyaev <me@zzet.org> | 2013-05-05 18:01:10 +0400 |
|---|---|---|
| committer | Andrey Kumanyaev <me@zzet.org> | 2013-05-05 18:01:10 +0400 |
| commit | 67ccc8b52aceebea9c0cb22b3277daf0b467c78e (patch) | |
| tree | 6139a7674fe0f9d70a0af51c383fd72aa91cc54c /spec/requests/api | |
| parent | 493b5ff011d5788f669adabf978a40b49b8cf6a3 (diff) | |
| download | gitlab-ce-67ccc8b52aceebea9c0cb22b3277daf0b467c78e.tar.gz | |
Replace old hashes with new 1.9 ruby hashes (rebase)
Diffstat (limited to 'spec/requests/api')
| -rw-r--r-- | spec/requests/api/groups_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/api/groups_spec.rb b/spec/requests/api/groups_spec.rb index e97ceb2c991..37199835d53 100644 --- a/spec/requests/api/groups_spec.rb +++ b/spec/requests/api/groups_spec.rb @@ -85,17 +85,17 @@ describe Gitlab::API do end it "should not create group, duplicate" do - post api("/groups", admin), {:name => "Duplicate Test", :path => group2.path} + post api("/groups", admin), {name: "Duplicate Test", path: group2.path} response.status.should == 404 end it "should return 400 bad request error if name not given" do - post api("/groups", admin), { :path => group2.path } + post api("/groups", admin), { path: group2.path } response.status.should == 400 end it "should return 400 bad request error if path not given" do - post api("/groups", admin), { :name => 'test' } + post api("/groups", admin), { name: 'test' } response.status.should == 400 end end |
