mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Devise should respect script_name and path_info contracts. This closes #331, a long standing bug with Passenger.
This commit is contained in:
@@ -285,6 +285,13 @@ class AuthenticationWithScopesTest < ActionController::IntegrationTest
|
||||
assert_contain 'Sign in'
|
||||
end
|
||||
end
|
||||
|
||||
test 'sign in with script name' do
|
||||
assert_nothing_raised do
|
||||
get new_user_session_path, {}, "SCRIPT_NAME" => "/omg"
|
||||
fill_in "email", "user@test.com"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class AuthenticationOthersTest < ActionController::IntegrationTest
|
||||
|
||||
Reference in New Issue
Block a user