diff --git a/test/middleware_test.rb b/test/middleware_test.rb index 9818973..0127180 100644 --- a/test/middleware_test.rb +++ b/test/middleware_test.rb @@ -3,5 +3,7 @@ class MiddlewareTest < ActionDispatch::IntegrationTest test "don't fail on redirects" do get "/redirected" + + assert_response :moved_permanently end end