spec/pardot/error_spec.rb in ruby-pardot-1.3.1 vs spec/pardot/error_spec.rb in ruby-pardot-1.3.2
- old
+ new
@@ -19,13 +19,13 @@
describe '#to_s, #message' do
subject do
described_class.new(@res)
end
specify do
- subject.to_s.should == @res["__content__"]
+ expect(subject.to_s).to eq(@res["__content__"])
end
specify do
- subject.message.should == @res["__content__"]
+ expect(subject.message).to eq(@res["__content__"])
end
end
describe '#inspect' do
subject do