1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/lib/capybara/rack_test
David Rodríguez 638852f343 Don't redefine Object method method.
The `Object` class in Ruby defines an instance method named `method`
that receives a symbol a returns a `Method` object. Byebug uses this
method to grab information about the parameters of each frame in the
backtrace.

The `Capybara::RackTest::Form` class defines a method called `method`,
overriding the method mentioned above. This case could probably be
rescued in `byebug`, but since the method is just a private utility
in the class, I think it is fine to just rename it to something else
inside capybara.

While renaming it, I noticed a typo in a variable name, so I made the
renamings so that the typo is corrected too.
2015-11-09 01:16:22 +01:00
..
browser.rb support older versions of nokogiri 2015-05-28 12:22:43 -07:00
css_handlers.rb use BasicObject so global includes don't extend CSSHandlers 2014-03-31 09:53:14 -07:00
driver.rb Fix issue #1237 so browser doesn't intialize during session reset 2014-09-19 14:18:50 -07:00
form.rb Don't redefine Object method method. 2015-11-09 01:16:22 +01:00
node.rb warn when attempting to select a disabled option 2015-06-05 13:24:57 -07:00