Permalink
Browse files

Add spec for Verifier

  • Loading branch information...
1 parent a0e88f5 commit 57be57b853c925386547d96102d9a54629992ab0 @lsegal lsegal committed Jun 16, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 spec/verifier_spec.rb
View
@@ -47,6 +47,10 @@
obj.should_receive(:tag).and_return(nil)
Verifier.new('@return.text').call(obj).should == false
end
+
+ it "should not fail if no expressions were added" do
+ lambda { Verifier.new.call(nil) }.should_not raise_error
+ end
end
describe '#expressions' do

0 comments on commit 57be57b

Please sign in to comment.