summaryrefslogtreecommitdiff
path: root/spec/mspec/lib/mspec/helpers/flunk.rb
blob: 35bd939b852eea91d81786d0cd66578e8bd609bc (plain)
1
2
3
4
5
class Object
  def flunk(msg="This example is a failure")
    SpecExpectation.fail_with "Failed:", msg
  end
end