summaryrefslogtreecommitdiff
path: root/spec/requests/sessions_controller
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/sessions_controller')
-rw-r--r--spec/requests/sessions_controller/post_sessions_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/sessions_controller/post_sessions_controller_spec.rb b/spec/requests/sessions_controller/post_sessions_controller_spec.rb
index 31cef31..c67b14d 100644
--- a/spec/requests/sessions_controller/post_sessions_controller_spec.rb
+++ b/spec/requests/sessions_controller/post_sessions_controller_spec.rb
@@ -10,7 +10,7 @@ RSpec.describe 'POST /api/login', type: :request do
let(:desired_error_status) { 401 }
let(:expected_text) { %w[token refresh] }
let(:user) { create(:user_account) }
- let(:params) { { credentials: { email: user.email, password: user.password } } }
- let(:wrong_params) { { credentials: { email: user.email, password: 'wrong_password' } } }
+ let(:params) { { email: user.email, password: user.password } }
+ let(:wrong_params) { { email: user.email, password: 'wrong_password' } }
end
end