Author: assaf
Date: Tue Jul 29 12:24:20 2008
New Revision: 680807
URL: http://svn.apache.org/viewvc?rev=680807&view=rev
Log:
BUILDR-113: 'warn_that' was renamed to 'show_warning' (Lacton)
Modified:
incubator/buildr/trunk/spec/spec_helpers.rb
Modified: incubator/buildr/trunk/spec/spec_helpers.rb
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/spec/spec_helpers.rb?rev=680807&r1=680806&r2=680807&view=diff
==============================================================================
--- incubator/buildr/trunk/spec/spec_helpers.rb (original)
+++ incubator/buildr/trunk/spec/spec_helpers.rb Tue Jul 29 12:24:20 2008
@@ -65,7 +65,7 @@
# Tests if a warning was issued. You can use a string or regular
expression.
#
# For example:
- # lambda { warn 'ze test' }.should warn_that(/ze test/)
+ # lambda { warn 'ze test' }.should show_warning(/ze test/)
def show_warning(message)
WarningMatcher.new message
end