diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-01-07 13:39:20 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-01-07 13:39:20 +0300 |
commit | 8dd672776ee72990fd41b37559a8ba102595d6ca (patch) | |
tree | af57df7a2013883162ebff91de1a6f3ede775194 /spec | |
parent | cd0aed3d54fc01d0c361a8cf282d2de48297f66a (diff) |
Fix failing tests due to updates on the return messages.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/groups_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/groups_spec.rb b/spec/requests/api/groups_spec.rb index a5aade06cba..95f82463367 100644 --- a/spec/requests/api/groups_spec.rb +++ b/spec/requests/api/groups_spec.rb @@ -91,8 +91,8 @@ describe API::API, api: true do it "should not create group, duplicate" do post api("/groups", admin), {name: "Duplicate Test", path: group2.path} - response.status.should == 422 - response.message.should == "Unprocessable Entity" + response.status.should == 400 + response.message.should == "Bad Request" end it "should return 400 bad request error if name not given" do |