lib/capybara-extensions.rb in capybara-extensions-0.3.3 vs lib/capybara-extensions.rb in capybara-extensions-0.4.0
- old
+ new
@@ -16,10 +16,10 @@
end
end
end
class Capybara::Session
- CapybaraExtensions::extension_methods.each do |method|
+ CapybaraExtensions.extension_methods.each do |method|
define_method method do |*args, &block|
current_scope.send method, *args, &block
end
end
end