spec/lib/hamster/set/disjoint_spec.rb in hamster-1.0.1.pre.rc3 vs spec/lib/hamster/set/disjoint_spec.rb in hamster-2.0.0
- old
+ new
@@ -16,10 +16,10 @@
[%w[A B C], %w[A B C D], false],
[%w[D E F G], %w[A B C], true],
].each do |a, b, expected|
describe "for #{a.inspect} and #{b.inspect}" do
it "returns #{expected}" do
- Hamster.set(*a).disjoint?(Hamster.set(*b)).should be(expected)
+ S[*a].disjoint?(S[*b]).should be(expected)
end
end
end
end
end
\ No newline at end of file