test/controllers/passwords_controller_test.rb in devise-4.1.1 vs test/controllers/passwords_controller_test.rb in devise-4.2.0
- old
+ new
@@ -1,9 +1,9 @@
require 'test_helper'
class PasswordsControllerTest < Devise::ControllerTestCase
tests Devise::PasswordsController
- include Devise::TestHelpers
+ include Devise::Test::ControllerHelpers
setup do
request.env["devise.mapping"] = Devise.mappings[:user]
@user = create_user.tap(&:confirm)
@raw = @user.send_reset_password_instructions