summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-22 14:41:00 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-22 14:41:00 -0400
commit94eff655693a504b8b5d10472257709d8a2b342b (patch)
tree6ac43313772ee1c1933ed5b5fa3eb59ec6d14f13 /spec/requests
parent56246b70fb4fcbbb6f623ba9a38ba428a85175ef (diff)
downloadgitlab-ce-94eff655693a504b8b5d10472257709d8a2b342b.tar.gz
Fix Style/SpaceInsideHashLiteralBraces cop violations
These fixes were performed automatically by Rubocop's `-a` flag.
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/groups_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/api/groups_spec.rb b/spec/requests/api/groups_spec.rb
index 62b42d63fc2..e0574151abb 100644
--- a/spec/requests/api/groups_spec.rb
+++ b/spec/requests/api/groups_spec.rb
@@ -109,18 +109,18 @@ describe API::API, api: true do
end
it "should not create group, duplicate" do
- post api("/groups", user3), {name: 'Duplicate Test', path: group2.path}
+ post api("/groups", user3), { name: 'Duplicate Test', path: group2.path }
expect(response.status).to eq(400)
expect(response.message).to eq("Bad Request")
end
it "should return 400 bad request error if name not given" do
- post api("/groups", user3), {path: group2.path}
+ post api("/groups", user3), { path: group2.path }
expect(response.status).to eq(400)
end
it "should return 400 bad request error if path not given" do
- post api("/groups", user3), {name: 'test'}
+ post api("/groups", user3), { name: 'test' }
expect(response.status).to eq(400)
end
end