diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-07-30 12:41:59 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-07-30 12:41:59 +0300 |
commit | 1c7a8b8c27398250983bf4329007f6971df65f34 (patch) | |
tree | cb6a006dbf3abfece03cd6e76cf47750cbf16d54 /spec/requests/api/users_spec.rb | |
parent | 4fb6ddfe06164c211f22e69fdec0b248bc61f6b4 (diff) |
Fix docs
Diffstat (limited to 'spec/requests/api/users_spec.rb')
-rw-r--r-- | spec/requests/api/users_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/users_spec.rb b/spec/requests/api/users_spec.rb index 7fa6aebca0b..f2aa369985e 100644 --- a/spec/requests/api/users_spec.rb +++ b/spec/requests/api/users_spec.rb @@ -389,7 +389,7 @@ describe API::API, api: true do before { admin } it "should not create invalid email" do - post api("/users/#{user.id}/emails", admin), { } + post api("/users/#{user.id}/emails", admin), {} expect(response.status).to eq(400) expect(json_response['message']).to eq('400 (Bad request) "email" not given') end |