We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c7773 commit 7f5326fCopy full SHA for 7f5326f
ruby_event_store-active_record/spec/event_repository_spec.rb
@@ -315,7 +315,6 @@ module ActiveRecord
315
skip unless %w[json jsonb].include?(ENV["DATA_TYPE"])
316
317
repository = EventRepository.new(serializer: JSON)
318
- repository.rescue_from_double_json_serialization!
319
repository.append_to_stream(
320
[SRecord.new(data: JSON.dump({ "simulate" => "double" }))],
321
Stream.new("stream"),
@@ -326,6 +325,7 @@ module ActiveRecord
326
325
327
ExpectedVersion.any,
328
)
+ repository.rescue_from_double_json_serialization!
329
330
expect(repository.read(specification.backward.limit(1).result).first.data).to eq({ "simulate" => "single" })
331
expect {
0 commit comments