summaryrefslogtreecommitdiff
path: root/spec/requests/user_accounts_controller/update_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/user_accounts_controller/update_spec.rb')
-rw-r--r--spec/requests/user_accounts_controller/update_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/user_accounts_controller/update_spec.rb b/spec/requests/user_accounts_controller/update_spec.rb
index fcfb28e..e26f819 100644
--- a/spec/requests/user_accounts_controller/update_spec.rb
+++ b/spec/requests/user_accounts_controller/update_spec.rb
@@ -17,7 +17,7 @@ RSpec.describe 'PUT /api/account', type: :request do
let(:desired_error_status) { 422 }
let(:wrong_params) { { email: 'notanemail', password: '', first_name: '', last_name: '' } }
let(:expected_error_messages) do
- ['Email is invalid', "First name can't be blank", "Last name can't be blank"]
+ ['is invalid', "can't be blank", "can't be blank"]
end
end
end