spec/bogus/stubbing/anything_spec.rb in bogus-0.1.4 vs spec/bogus/stubbing/anything_spec.rb in bogus-0.1.5
- old
+ new
@@ -2,12 +2,12 @@
describe Bogus::Anything do
it "is equal to everything" do
anything = Bogus::Anything
- anything.should == "foo"
- anything.should == "bar"
- anything.should == 1
- anything.should == Object.new
- anything.should == anything
+ expect(anything).to eq("foo")
+ expect(anything).to eq("bar")
+ expect(anything).to eq(1)
+ expect(anything).to eq(Object.new)
+ expect(anything).to eq(anything)
end
end