lib/tasks/cookie.rake in eeny-meeny-2.2.2 vs lib/tasks/cookie.rake in eeny-meeny-2.3.0

- old
+ new

@@ -36,10 +36,10 @@ desc 'Create a valid EenyMeeny smoke test cookie' task :smoke_test, [:smoke_test_id, :version] => :environment do |_, args| raise "Missing 'smoke_test_id' parameter" if (args['smoke_test_id'].nil? || args['smoke_test_id'].empty?) smoke_test_id = args['smoke_test_id'] version = args['version'] || 1 - cookie = EenyMeeny::Cookie.create_for_smoke_test(smoke_test_id, EenyMeeny.config.cookies.merge(version: version)) + cookie = EenyMeeny::Cookie.create_for_smoke_test(smoke_test_id, **EenyMeeny.config.cookies.merge(version: version)) puts cookie end end