summaryrefslogtreecommitdiff
path: root/spec/ruby/core/set/intersect_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/set/intersect_spec.rb')
-rw-r--r--spec/ruby/core/set/intersect_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/set/intersect_spec.rb b/spec/ruby/core/set/intersect_spec.rb
index 0736dea5fd..d04a1af441 100644
--- a/spec/ruby/core/set/intersect_spec.rb
+++ b/spec/ruby/core/set/intersect_spec.rb
@@ -12,11 +12,11 @@ describe "Set#intersect?" do
context "when comparing to a Set-like object" do
it "returns true when a Set has at least one element in common with a Set-like object" do
- Set[1, 2].intersect?(SetSpecs::SetLike.new([2, 3])).should be_true
+ Set[1, 2].intersect?(SetSpecs::SetLike.new([2, 3])).should == true
end
it "returns false when a Set has no element in common with a Set-like object" do
- Set[1, 2].intersect?(SetSpecs::SetLike.new([3, 4])).should be_false
+ Set[1, 2].intersect?(SetSpecs::SetLike.new([3, 4])).should == false
end
end
end