Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes a bug

  • Loading branch information...
commit ec8e71e6e71be31de22c0c9ac56ba4ffa47cb405 1 parent a01f1c0
Marc Schopper authored
2  lib/show_me_the_cookies/culerity.rb
View
@@ -4,7 +4,7 @@ def initialize(driver)
end
def show_me_the_cookie(cookie_name)
- @browser.cookies.send_remote(cookie_name.to_sym)
+ raise 'not implemented for Culerity driver yet'
end
def show_me_the_cookies
2  lib/show_me_the_cookies/rack_test.rb
View
@@ -4,7 +4,7 @@ def initialize(rack_test_driver)
end
def show_me_the_cookie(cookie_name)
- cookie_jar.instance_variable_get(:@cookies)[cookie_name]
+ cookie_jar.instance_variable_get(:@cookies).find { |c| c.name == cookie_name }
end
def show_me_the_cookies
2  lib/show_me_the_cookies/selenium.rb
View
@@ -5,7 +5,7 @@ def initialize(driver)
end
def show_me_the_cookie(cookie_name)
- @browser.manage.all_cookies[cookie_name]
+ raise 'not implemented for Selenium driver yet'
end
def show_me_the_cookies
Please sign in to comment.
Something went wrong with that request. Please try again.