Autofix Rubocop Lint/SymbolConversion (#23683)
This commit is contained in:
1 parent
6d42820e5d
commit
634368c491
8 files changed
+35
-49
No files matched your search
@@ -127,7 +127,7 @@ RSpec.describe Auth::SessionsController, type: :controller do
|
||||
|
||||
before do
|
||||
allow_any_instance_of(ActionDispatch::Request).to receive(:remote_ip).and_return(current_ip)
|
||||
allow(UserMailer).to receive(:suspicious_sign_in).and_return(double('email', 'deliver_later!': nil))
|
||||
allow(UserMailer).to receive(:suspicious_sign_in).and_return(double('email', deliver_later!: nil))
|
||||
user.update(current_sign_in_at: 1.month.ago)
|
||||
post :create, params: { user: { email: user.email, password: user.password } }
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user