spec/integration/abstract/commands/update_spec.rb in rom-http-0.1.1 vs spec/integration/abstract/commands/update_spec.rb in rom-http-0.1.2

- old
+ new

@@ -1,11 +1,11 @@ RSpec.describe ROM::HTTP::Commands::Update do let(:uri) { 'http://localhost:3000' } let(:headers) { { accept: 'application/json' } } let(:rom) { ROM::Environment.new } let(:container) { rom.finalize.env } - let(:request_handler) { double(Proc) } - let(:response_handler) { double(Proc) } + let(:request_handler) { double(Proc, freeze: self) } + let(:response_handler) { double(Proc, freeze: self) } let(:relation) do Class.new(ROM::HTTP::Relation) do dataset :users end end