Browse files

Merge pull request #19 from kbaum/master

Added find_xpath to make compatible with edge capybara 2.1
  • Loading branch information...
2 parents 6d97b2c + 001dfaa commit 7ca657ed129cb5f0b4d281109f29a77e91ed872a @bcardarella bcardarella committed Mar 6, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/capybara/email/driver.rb
View
3 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 7ca657e

Please sign in to comment.