diff options
author | Stan Hu <stanhu@gmail.com> | 2015-06-22 22:24:39 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-06-22 22:24:39 -0700 |
commit | 359ed48638a7442f36b271f283d6a7b8d31225c4 (patch) | |
tree | 9b17d7688cb87f8e2200aa3b15e7848413208f23 /spec/requests | |
parent | 871bb2f14376355f08ecc9812feec020429e0662 (diff) | |
download | gitlab-ce-359ed48638a7442f36b271f283d6a7b8d31225c4.tar.gz |
Fix Style/AlignHash cop violations
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/project_members_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/requests/api/project_members_spec.rb b/spec/requests/api/project_members_spec.rb index d2c1dd6264b..6358f6a2a4a 100644 --- a/spec/requests/api/project_members_spec.rb +++ b/spec/requests/api/project_members_spec.rb @@ -63,8 +63,9 @@ describe API::API, api: true do end it "should return a 201 status if user is already project member" do - post api("/projects/#{project.id}/members", user), user_id: user2.id, - access_level: ProjectMember::DEVELOPER + post api("/projects/#{project.id}/members", user), + user_id: user2.id, + access_level: ProjectMember::DEVELOPER expect do post api("/projects/#{project.id}/members", user), user_id: user2.id, access_level: ProjectMember::DEVELOPER end.not_to change { ProjectMember.count } |