Skip to content

Commit

Permalink
support all_text
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardarella committed Oct 9, 2013
1 parent 553d6e0 commit e2d3a62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/capybara/email/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ def visible_text
Capybara::Helpers.normalize_whitespace(unnormalized_text)
end

def all_text
Capybara::Helpers.normalize_whitespace(text)
end

def click
driver.follow(self[:href].to_s)
end
Expand Down

0 comments on commit e2d3a62

Please sign in to comment.