spec/phut/open_vswitch_spec.rb in phut-0.2.4 vs spec/phut/open_vswitch_spec.rb in phut-0.3.0

- old
+ new

@@ -11,10 +11,11 @@ end describe '#run' do When { vswitch.run } Then do - expect(vswitch).to have_received(:sh).with(/test-openflowd/) + expect(vswitch).to(have_received(:sh). + with('sudo ovs-vsctl add-br 0xabc')) end end end end end