This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add more capybara helpers.

  • Loading branch information...
josevalim committed Oct 29, 2010
1 parent ca9fa80 commit f902b5ae9382fa4278411bf7169b376d0516df10
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/hermes/assertions.rb
View
@@ -35,7 +35,7 @@ def assert_no_content(content)
end
end
%w(xpath css link select).each do |method|
%w(xpath css link select field button checked_field unchecked_field selector table).each do |method|
class_eval <<-RUBY, __FILE__, __LINE__ + 1
def assert_#{method}(*args, &block)
boolean = has_#{method}?(*args, &block)

0 comments on commit f902b5a

Please sign in to comment.