Skip to content

Commit

Permalink
Merge pull request #66 from marcoroth/fix-assertion-warning-in-middle…
Browse files Browse the repository at this point in the history
…ware-test

Add assertion to remove warning in `MiddlewareTest`
  • Loading branch information
jorgemanrubia authored Jan 25, 2025
2 parents 5ac8698 + c2c0aa5 commit e1537db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/middleware_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
class MiddlewareTest < ActionDispatch::IntegrationTest
test "don't fail on redirects" do
get "/redirected"

assert_response :moved_permanently
end
end

0 comments on commit e1537db

Please sign in to comment.