A platform for community discussion. Free, open, simple.
Fix the build.
Arpit Jalan8e2f57a498e8
diff --git a/spec/requests/invites_controller_spec.rb b/spec/requests/invites_controller_spec.rbindex 5f9a002f5fb..1b21baf8ba8 100644--- a/spec/requests/invites_controller_spec.rb+++ b/spec/requests/invites_controller_spec.rb@@ -156,7 +156,7 @@ describe InvitesController doit "fails if you can't invite to the forum" dosign_in(Fabricate(:user))post "/invites/link.json", params: { email: email }- expect(response).to be_forbidden+ expect(response.status).to eq(422)endit "fails for normal user if invite email already exists" do@@ -177,7 +177,7 @@ describe InvitesController doemail: email, topic_id: -9999}- expect(response.status).to eq(400)+ expect(response.status).to eq(422)endit "verifies that inviter is authorized to invite new user to a group-private topic" do@@ -190,7 +190,7 @@ describe InvitesController doemail: email, topic_id: group_private_topic.id}- expect(response).to be_forbidden+ expect(response.status).to eq(422)endit "allows admins to invite to groups" do@@ -234,7 +234,7 @@ describe InvitesController dopost "/invites/link.json", params: {max_redemptions_allowed: 5}- expect(response).to be_forbidden+ expect(response.status).to eq(422)endit "allows staff to invite to groups" do