Skip to content

Commit 966495a

Browse files
author
Jonathan Tapia
committed
Fix keyword usage for Ruby 3.x support on specs
1 parent 512fc62 commit 966495a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/controllers/spree/user_registrations_controller_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
let(:password_confirmation) { 'foobar123' }
1414

1515
subject do
16-
post(:create, {
16+
post(:create,
1717
params: {
1818
spree_user: {
1919
2020
password: 'foobar123',
2121
password_confirmation: password_confirmation
2222
}
2323
}
24-
})
24+
)
2525
end
2626

2727
context 'when user created successfuly' do

spec/controllers/spree/user_sessions_controller_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
let(:password) { 'secret' }
1111

1212
subject do
13-
post(:create, {
13+
post(:create,
1414
params: {
1515
spree_user: {
1616
email: user.email,
1717
password: password
1818
},
1919
format: format
2020
}
21-
})
21+
)
2222
end
2323

2424
context "when using correct login information" do

0 commit comments

Comments
 (0)