Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add note about possible name change for have_failed.
  • Loading branch information
jimweirich committed Aug 28, 2012
1 parent 55e9617 commit 7d435ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/rspec/given/have_failed.rb
Expand Up @@ -5,6 +5,9 @@ module HaveFailed
# Alias for raise_error(...), but reads a bit better when using # Alias for raise_error(...), but reads a bit better when using
# a failure result from a when clause. # a failure result from a when clause.
# #
# NOTE: This is new for 1.6.0.beta.1. A name change for this
# method is possible.
#
# Typical Usage: # Typical Usage:
# #
# When(:result) { fail "OUCH" } # When(:result) { fail "OUCH" }
Expand Down

0 comments on commit 7d435ad

Please sign in to comment.