Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix failure error method name
  • Loading branch information
ukutaht committed Aug 7, 2014
1 parent f72420d commit 5427801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/surrogate/rspec/substitution_matcher.rb
Expand Up @@ -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

Expand Down

0 comments on commit 5427801

Please sign in to comment.