test/test_canhaz.rb in rails-canhaz-1.0.4 vs test/test_canhaz.rb in rails-canhaz-1.0.5

- old
+ new

@@ -58,11 +58,17 @@ def test_can subject = SubjectModel.new subject.save + subject2 = SubjectModel.new + subject2.save + object = ObjectModel.new object.save + + subject2.can!(:foo, object) + subject2.can!(:bar, object) assert subject.can?(:foo, object) == false assert subject.can?(:bar, object) == false assert object.accessible_by?(subject, :foo) == false