Skip to content

Commit cc025c3

Browse files
committed
Fix log entry spec for Ruby 3.4
Ruby 3.4 finally adds the new has key syntax into inspect. Since we still support older Ruby versions we just remove the expectation of the hash key.
1 parent 169a012 commit cc025c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/spec/models/spree/log_entry_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128

129129
expect(details.success?).to eq(true)
130130
expect(details.message).to eq("[WARNING: An error occurred while trying to serialize the payment response] FooBar")
131-
expect(details.params['data']).to include(':bar=>"Symbol keys are not allowed"')
131+
expect(details.params['data']).to include('"Symbol keys are not allowed"')
132132
expect(details.params['error']).to include('Tried to dump unspecified class: Symbol')
133133
end
134134
end

0 commit comments

Comments
 (0)