lib/eeny-meeny/middleware.rb in eeny-meeny-2.1.2 vs lib/eeny-meeny/middleware.rb in eeny-meeny-2.1.3

- old
+ new

@@ -45,10 +45,10 @@ end # Prepare smoke tests (if enabled through query parameters) if EenyMeeny.config.query_parameters[:smoke_test] if query_parameters.key?('smoke_test_id') && (query_parameters['smoke_test_id'] =~ /\A[A-Za-z_]+\z/) # Set HTTP_COOKIE header to enable smoke test on first pageview - cookie = EenyMeeny::Cookie.create_for_smoke_test(query_parameters['smoke_test_id']) + cookie = EenyMeeny::Cookie.create_for_smoke_test(query_parameters['smoke_test_id'], @cookie_config) env = add_or_replace_http_cookie(env, cookie) new_cookies[cookie.name] = cookie end end # Delegate to app