spec/twitter/basic_user_spec.rb in twitter-4.1.0 vs spec/twitter/basic_user_spec.rb in twitter-4.1.1

- old
+ new

@@ -4,20 +4,20 @@ describe "#==" do it "returns true when objects IDs are the same" do saved_search = Twitter::BasicUser.new(:id => 1, :name => "foo") other = Twitter::BasicUser.new(:id => 1, :name => "bar") - (saved_search == other).should be_true + expect(saved_search == other).to be_true end it "returns false when objects IDs are different" do saved_search = Twitter::BasicUser.new(:id => 1) other = Twitter::BasicUser.new(:id => 2) - (saved_search == other).should be_false + expect(saved_search == other).to be_false end it "returns false when classes are different" do saved_search = Twitter::BasicUser.new(:id => 1) other = Twitter::Identity.new(:id => 1) - (saved_search == other).should be_false + expect(saved_search == other).to be_false end end end