Skip to content

Commit

Permalink
Revert "Also delegates the message message."
Browse files Browse the repository at this point in the history
This reverts commit 2885db5.

This needs more careful consideration since it would break anyone using
`let(:message)`. See rspec#152 for more details.
  • Loading branch information
alindeman committed Nov 21, 2012
1 parent 2885db5 commit fe4e8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/rails/adapters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module ClassMethods
# Minitest.
def assertion_method_names
Test::Unit::Assertions.public_instance_methods.select{|m| m.to_s =~ /^(assert|flunk)/} +
[:build_message, :message]
[:build_message]
end

# @api private
Expand Down

0 comments on commit fe4e8f3

Please sign in to comment.