spec/invoker/command_worker_spec.rb in invoker-1.0.2 vs spec/invoker/command_worker_spec.rb in invoker-1.0.3
- old
+ new
@@ -7,9 +7,9 @@
@workers["foo"] = Invoker::CommandWorker.new("foo", 89, 1023, "red")
@workers["bar"] = Invoker::CommandWorker.new("bar", 99, 1024, "blue")
end
it "should print json" do
- @workers.values.map {|worker| worker.to_h }.to_json.should.not.be.empty
+ expect(@workers.values.map {|worker| worker.to_h }.to_json).not_to be_empty
end
end
end