spec/error_spec.rb in agent-0.10.0 vs spec/error_spec.rb in agent-0.11.0

- old
+ new

@@ -4,12 +4,12 @@ before do @error = Agent::Error.new("msg") end it "should create an error" do - @error.to_s.should == "msg" + expect(@error.to_s).to eq("msg") end it "should match the error's message" do - @error.should be_message("msg") + expect(@error).to be_message("msg") end end