Skip to content

Commit

Permalink
Check if correct template is rendered in ptime temporarely unavailabl…
Browse files Browse the repository at this point in the history
…e test
  • Loading branch information
RandomTannenbaum committed Aug 2, 2024
1 parent 2001e79 commit f621ac0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/requests/people_employees_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@

get "/people/#{person_wally.id}"

expect(response).to render_template(:show)

expect(person_wally.attributes.except(*%w[created_at updated_at])).to eq(Person.find(person_wally.id).attributes.except(*%w[created_at updated_at]))
end
end

0 comments on commit f621ac0

Please sign in to comment.