spec/support/helpers/env_helpers.rb in appsignal-2.2.1 vs spec/support/helpers/env_helpers.rb in appsignal-2.3.0.beta.1

- old
+ new

@@ -1,10 +1,10 @@ module EnvHelpers def http_request_env_with_data(args = {}) path = args.delete(:path) || "/blog" Rack::MockRequest.env_for( path, - :params => { + :params => args[:params] || { "controller" => "blog_posts", "action" => "show", "id" => "1" } ).merge(