From b7808e85c616463bcf3bfa198d60069215a984cd Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 29 Oct 2023 21:38:50 +0100 Subject: [PATCH] Check proper render result in spec --- spec/controllers/reactions_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/reactions_controller_spec.rb b/spec/controllers/reactions_controller_spec.rb index 605a515c..e5e7ede5 100644 --- a/spec/controllers/reactions_controller_spec.rb +++ b/spec/controllers/reactions_controller_spec.rb @@ -7,7 +7,7 @@ describe ReactionsController, type: :controller do shared_examples_for "succeeds" do it "returns the correct response" do subject - expect(response).to have_rendered("reaction/index") + expect(response).to have_rendered :index expect(response).to have_http_status(200) end end