Permalink
Browse files

add alias_method for compatability with capybara ~>2.1

  • Loading branch information...
1 parent 6d97b2c commit 001dfaa2e65c3f202913f40e4b3464f2641e0cf1 @kbaum kbaum committed Mar 6, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/capybara/email/driver.rb
@@ -57,6 +57,9 @@ def find(selector)
dom.xpath(selector).map { |node| Capybara::Email::Node.new(self, node) }
end
+ alias_method :find_xpath, :find
+
+
# String version of email HTML source
#
# @return String

0 comments on commit 001dfaa

Please sign in to comment.