spec/helpers/capybara.rb in page_magic-1.0.0.alpha4 vs spec/helpers/capybara.rb in page_magic-1.0.0.alpha5
- old
+ new
@@ -1,10 +1,10 @@
module Capybara
module Selenium
class Driver
- def == driver
- driver.respond_to?(:options) && self.options == driver.options &&
- driver.respond_to?(:app) && self.app == driver.app
+ def ==(driver)
+ driver.respond_to?(:options) && options == driver.options &&
+ driver.respond_to?(:app) && app == driver.app
end
end
end
-end
\ No newline at end of file
+end