spec/invoker/cli/pinger_spec.rb in invoker-1.2.0.pre2 vs spec/invoker/cli/pinger_spec.rb in invoker-1.2.0

- old
+ new

@@ -6,17 +6,17 @@ let(:pong) { MM::Pong.new(status: 'pong') } context "If Invoker is running" do it "should return true" do unix_client.expects(:send_and_receive).returns(pong) - expect(pinger.invoker_running?).to be_true + expect(pinger.invoker_running?).to be_truthy end end context "if Invoker is not running" do it "should return false" do unix_client.expects(:send_and_receive).returns(nil) unix_client.expects(:abort).never - expect(pinger.invoker_running?).to be_false + expect(pinger.invoker_running?).to be_falsey end end end