spec/twitter/source_user_spec.rb in twitter-5.0.0.rc.1 vs spec/twitter/source_user_spec.rb in twitter-5.0.0
- old
+ new
@@ -4,20 +4,20 @@
describe "#==" do
it "returns true when objects IDs are the same" do
saved_search = Twitter::SourceUser.new(:id => 1, :name => "foo")
other = Twitter::SourceUser.new(:id => 1, :name => "bar")
- expect(saved_search == other).to be_true
+ expect(saved_search == other).to be true
end
it "returns false when objects IDs are different" do
saved_search = Twitter::SourceUser.new(:id => 1)
other = Twitter::SourceUser.new(:id => 2)
- expect(saved_search == other).to be_false
+ expect(saved_search == other).to be false
end
it "returns false when classes are different" do
saved_search = Twitter::SourceUser.new(:id => 1)
other = Twitter::Identity.new(:id => 1)
- expect(saved_search == other).to be_false
+ expect(saved_search == other).to be false
end
end
end