Check proper render result in spec
This commit is contained in:
parent
ca043d56ef
commit
b7808e85c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue