@@ -205,7 +205,6 @@ class CustomizedRoutingTest < ActionController::TestCase
205
205
206
206
test 'map with format false for sessions' do
207
207
expected_params = { controller : 'devise/sessions' , action : 'new' }
208
- expected_params [ :format ] = false
209
208
210
209
assert_recognizes ( expected_params , { path : '/htmlonly_admin/sign_in' , method : :get } )
211
210
assert_raise ExpectedRoutingError do
@@ -215,7 +214,6 @@ class CustomizedRoutingTest < ActionController::TestCase
215
214
216
215
test 'map with format false for passwords' do
217
216
expected_params = { controller : 'devise/passwords' , action : 'create' }
218
- expected_params [ :format ] = false
219
217
220
218
assert_recognizes ( expected_params , { path : '/htmlonly_admin/password' , method : :post } )
221
219
assert_raise ExpectedRoutingError do
@@ -225,7 +223,6 @@ class CustomizedRoutingTest < ActionController::TestCase
225
223
226
224
test 'map with format false for registrations' do
227
225
expected_params = { controller : 'devise/registrations' , action : 'new' }
228
- expected_params [ :format ] = false
229
226
230
227
assert_recognizes ( expected_params , { path : '/htmlonly_admin/sign_up' , method : :get } )
231
228
assert_raise ExpectedRoutingError do
@@ -235,7 +232,6 @@ class CustomizedRoutingTest < ActionController::TestCase
235
232
236
233
test 'map with format false for confirmations' do
237
234
expected_params = { controller : 'devise/confirmations' , action : 'show' }
238
- expected_params [ :format ] = false
239
235
240
236
assert_recognizes ( expected_params , { path : '/htmlonly_users/confirmation' , method : :get } )
241
237
assert_raise ExpectedRoutingError do
@@ -245,7 +241,6 @@ class CustomizedRoutingTest < ActionController::TestCase
245
241
246
242
test 'map with format false for unlocks' do
247
243
expected_params = { controller : 'devise/unlocks' , action : 'show' }
248
- expected_params [ :format ] = false
249
244
250
245
assert_recognizes ( expected_params , { path : '/htmlonly_users/unlock' , method : :get } )
251
246
assert_raise ExpectedRoutingError do
0 commit comments