From 5427801bd4ca587254622e66c34cbcff3cf32deb Mon Sep 17 00:00:00 2001 From: heruku Date: Thu, 7 Aug 2014 14:51:42 +0100 Subject: [PATCH] fix failure error method name --- lib/surrogate/rspec/substitution_matcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/surrogate/rspec/substitution_matcher.rb b/lib/surrogate/rspec/substitution_matcher.rb index f8fc4b2..60479b0 100644 --- a/lib/surrogate/rspec/substitution_matcher.rb +++ b/lib/surrogate/rspec/substitution_matcher.rb @@ -49,7 +49,7 @@ def failure_message_for_should_not end alias failure_message failure_message_for_should - alias failure_message_when_negated failure_message_for_should + alias failure_message_when_negated failure_message_for_should_not private