spec/helpers/flunk_spec.rb in mspec-1.5.3 vs spec/helpers/flunk_spec.rb in mspec-1.5.4

- old
+ new

@@ -10,6 +10,10 @@ end it "raises an ExpectationNotMetError unconditionally" do lambda { flunk }.should raise_error(ExpectationNotMetError) end + + it "accepts on argument for an optional message" do + lambda {flunk "test"}.should raise_error(ExpectationNotMetError) + end end