spec/punchblock/event/complete_spec.rb in punchblock-0.11.0 vs spec/punchblock/event/complete_spec.rb in punchblock-0.12.0
- old
+ new
@@ -10,20 +10,20 @@
end
describe "comparing for equality" do
subject do
Complete.new.tap do |c|
- c.reason = Complete::Stop.new
- c.call_id = '1234'
- c.component_id = 'abcd'
+ c.reason = Complete::Stop.new
+ c.target_call_id = '1234'
+ c.component_id = 'abcd'
end
end
let :other_complete do
Complete.new.tap do |c|
- c.reason = reason
- c.call_id = call_id
- c.component_id = component_id
+ c.reason = reason
+ c.target_call_id = call_id
+ c.component_id = component_id
end
end
context 'with reason, call id and component id the same' do
let(:reason) { Complete::Stop.new }