spec/unit/test_relation.rb in alf-0.9.3 vs spec/unit/test_relation.rb in alf-0.10.0
- old
+ new
@@ -44,9 +44,14 @@
describe "rel1" do
subject{ rel1 }
it_should_behave_like "A value"
end
+ specify "different empty relations instances should be equal" do
+ Relation.new(Set.new).should eq(Relation.new(Set.new))
+ Relation[{}].should eq(Relation[{}])
+ end
+
describe "DUM" do
subject{ Relation::DUM }
it_should_behave_like "A value"
specify{
subject.cardinality.should == 0
\ No newline at end of file