spec/simple_set_spec.rb in extlib-0.9.11 vs spec/simple_set_spec.rb in extlib-0.9.12
- old
+ new
@@ -17,15 +17,15 @@
end
describe "#<<" do
it "adds value to the set" do
@s << "Hello"
- @s.to_a.should include("Hello")
+ @s.to_a.should be_include("Hello")
end
it 'sets true mark on the key' do
@s << "Fun"
- @s["Fun"].should be(true)
+ @s["Fun"].should be_true
end
end
describe "#merge(other)" do
it "preserves old values when values do not overlap" do