lib/capybara/angular/dsl.rb in capybara-angular-0.2.6 vs lib/capybara/angular/dsl.rb in capybara-angular-0.3.0

- old
+ new

@@ -2,11 +2,11 @@ module Angular module DSL include Capybara::DSL Capybara::Session::DSL_METHODS.each do |method| - define_method(method) do |*args, &block| - page.send(method, *args, &block) + define_method(method) do |*args, **kwargs, &block| + page.send(method, *args, **kwargs, &block) end end def page wait_until_angular_ready unless @ignoring_angular