Permalink
Browse files

fixes a bug

  • Loading branch information...
1 parent a01f1c0 commit ec8e71e6e71be31de22c0c9ac56ba4ffa47cb405 @marcbey committed Aug 25, 2011
@@ -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
@@ -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
@@ -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

0 comments on commit ec8e71e

Please sign in to comment.