summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-30 18:01:04 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-30 18:01:04 -0600
commit54312e90df7c5a72bba09072f2bbb2c92d77d999 (patch)
treec6e117af521e56dfbd6f033140e7117a05de207d /spec/requests
parent564203bace85c06d0de16ad5d6c2ac540642d84e (diff)
Corrige ofensas de rubocop
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/cards_controller/update_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/requests/cards_controller/update_spec.rb b/spec/requests/cards_controller/update_spec.rb
index fdff170..013eba3 100644
--- a/spec/requests/cards_controller/update_spec.rb
+++ b/spec/requests/cards_controller/update_spec.rb
@@ -27,7 +27,8 @@ RSpec.describe 'PUT /api/account/addresses', type: :request do
[new_card.number, new_card.expiration_year, new_card.expiration_month, new_card.expiration_day, new_card.security_code]
end
let(:wrong_params) do
- { number: SecureRandom.hex(24), expiration_year: -20, expiration_month: 13, expiration_day: 33, security_code: ''}
+ { number: SecureRandom.hex(24), expiration_year: -20, expiration_month: 13, expiration_day: 33,
+ security_code: '' }
end
end
-end \ No newline at end of file
+end