Permalink
Browse files

fix overwriting rack-test with poltergeist adapter; duh

  • Loading branch information...
1 parent ee054d2 commit b02f2a0e74bcb433d382626d5804fb626b0c1bbb @nruth committed Feb 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/show_me_the_cookies.rb
@@ -18,7 +18,7 @@ def register_adapter(driver, adapter)
# to register your own adapter/driver do this in your test setup code somewhere e.g. spec/support
register_adapter(:selenium, ShowMeTheCookies::Selenium)
register_adapter(:rack_test, ShowMeTheCookies::RackTest)
- register_adapter(:rack_test, ShowMeTheCookies::Poltergeist)
+ register_adapter(:poltergeist, ShowMeTheCookies::Poltergeist)
# puts a string summary of the cookie
def show_me_the_cookie(cookie_name)

0 comments on commit b02f2a0

Please sign in to comment.