mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 04:49:08 +01:00
Check proper render result in spec
This commit is contained in:
parent
ca043d56ef
commit
b7808e85c6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue