Skip to content

Instantly share code, notes, and snippets.

@etagwerker
Last active July 29, 2019 15:35
Show Gist options
  • Save etagwerker/aa20506df8ef06b88e05a55e2a8f7301 to your computer and use it in GitHub Desktop.
Save etagwerker/aa20506df8ef06b88e05a55e2a8f7301 to your computer and use it in GitHub Desktop.
rspec spec/controllers output
[etagwerker@heim-7 e-petitions git:(3-dual-boot ✗)]$ docker-compose run app next rspec spec/controllers
Starting e-petitions_cache_1 ... done
Starting e-petitions_db_1 ... done
DEPRECATION WARNING: `config.serve_static_files` is deprecated and will be removed in Rails 5.1.
Please use `config.public_file_server.enabled = true` instead.
(called from block in <top (required)> at /usr/src/app/config/environments/test.rb:16)
DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
Please use
`config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }`
instead.
(called from block in <top (required)> at /usr/src/app/config/environments/test.rb:17)
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /usr/src/app/config/environment.rb:5)
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
them to actual class references. For example:
"CloudFrontRemoteIp" => CloudFrontRemoteIp
(called from <top (required)> at /usr/src/app/config/environment.rb:5)
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
them to actual class references. For example:
"QuietLogger" => QuietLogger
(called from <top (required)> at /usr/src/app/config/environment.rb:5)
DEPRECATION WARNING: Passing strings or symbols to the middleware builder is deprecated, please change
them to actual class references. For example:
"ActionDispatch::RemoteIp" => ActionDispatch::RemoteIp
(called from <top (required)> at /usr/src/app/config/environment.rb:5)
DEPRECATION WARNING: #table_exists? currently checks both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only check tables. Use #data_source_exists? instead. (called from table_exists? at /usr/src/app/app/models/site.rb:23)
DEPRECATION WARNING: Specifying strings for both :path and the route path is deprecated. Change things like this:
match "signed", :path => "sponsored"
to this:
match "sponsored", :as => "signed", :action => "signed"
(called from block (5 levels) in <top (required)> at /usr/src/app/config/routes.rb:56)
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:AdminUsersController> at /usr/src/app/app/controllers/admin/admin_users_controller.rb:2)
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:AdminUsersController> at /usr/src/app/app/controllers/admin/admin_users_controller.rb:3)
DEPRECATION WARNING: skip_before_filter is deprecated and will be removed in Rails 5.1. Use skip_before_action instead. (called from <class:ProfileController> at /usr/src/app/app/controllers/admin/profile_controller.rb:2)
DEPRECATION WARNING: skip_before_filter is deprecated and will be removed in Rails 5.1. Use skip_before_action instead. (called from <class:SponsorsController> at /usr/src/app/app/controllers/sponsors_controller.rb:2)
DEPRECATION WARNING: skip_before_filter is deprecated and will be removed in Rails 5.1. Use skip_before_action instead. (called from <class:SponsorsController> at /usr/src/app/app/controllers/sponsors_controller.rb:3)
DEPRECATION WARNING: skip_before_filter is deprecated and will be removed in Rails 5.1. Use skip_before_action instead. (called from <class:SponsorsController> at /usr/src/app/app/controllers/sponsors_controller.rb:4)
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 14982
DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.
Deprecated style:
get :show, { id: 1 }, nil, { notice: "This is a flash message" }
New keyword style:
get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
session: nil # Can safely be omitted.
(called from block (4 levels) in <top (required)> at /usr/src/app/spec/controllers/admin/debate_outcomes_controller_spec.rb:36)
DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.
Deprecated style:
get :show, { id: 1 }, nil, { notice: "This is a flash message" }
New keyword style:
get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
session: nil # Can safely be omitted.
(called from block (4 levels) in <top (required)> at /usr/src/app/spec/controllers/admin/debate_outcomes_controller_spec.rb:36)
.DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.
Deprecated style:
get :show, { id: 1 }, nil, { notice: "This is a flash message" }
New keyword style:
get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
session: nil # Can safely be omitted.
(called from block (4 levels) in <top (required)> at /usr/src/app/spec/controllers/admin/debate_outcomes_controller_spec.rb:29)
DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.
Deprecated style:
get :show, { id: 1 }, nil, { notice: "This is a flash message" }
New keyword style:
get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
session: nil # Can safely be omitted.
(called from block (4 levels) in <top (required)> at /usr/src/app/spec/controllers/admin/debate_outcomes_controller_spec.rb:29)
.DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.
Deprecated style:
get :show, { id: 1 }, nil, { notice: "This is a flash message" }
New keyword style:
get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
session: nil # Can safely be omitted.
(called from do_patch at /usr/src/app/spec/controllers/admin/debate_outcomes_controller_spec.rb:131)
DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.
Deprecated style:
get :show, { id: 1 }, nil, { notice: "This is a flash message" }
New keyword style:
get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
session: nil # Can safely be omitted.
(called from do_patch at /usr/src/app/spec/controllers/admin/debate_outcomes_controller_spec.rb:131)
.DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.
Deprecated style:
get :show, { id: 1 }, nil, { notice: "This is a flash message" }
New keyword style:
get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
session: nil # Can safely be omitted.
(called from do_patch at /usr/src/app/spec/controllers/admin/debate_outcomes_controller_spec.rb:131)
DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.
Deprecated style:
get :show, { id: 1 }, nil, { notice: "This is a flash message" }
New keyword style:
get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
session: nil # Can safely be omitted.
(called from do_patch at /usr/src/app/spec/controllers/admin/debate_outcomes_controller_spec.rb:131)
.DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.
...
Failures:
1) SignaturesController POST /petitions/:petition_id/signatures when the petition is open and the signature is not a duplicate deletes the form request details
Failure/Error: expect(cookies.encrypted["wYonHKjTeW7mtTusqDv"]).to be_nil
expected: nil
got: "2019-04-18T06:00:00Z"
# ./spec/controllers/signatures_controller_spec.rb:340:in `block (5 levels) in <top (required)>'
# ./spec/controllers/signatures_controller_spec.rb:288:in `block (5 levels) in <top (required)>'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/testing/time_helpers.rb:110:in `travel_to'
# ./spec/controllers/signatures_controller_spec.rb:288:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
2) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update fails redirects to the search page
Failure/Error: redirect_to admin_signatures_url(search_params), alert: :signature_not_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:88:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:171:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
3) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update fails sets the flash alert message
Failure/Error: redirect_to admin_signatures_url(search_params), alert: :signature_not_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:88:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:176:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
4) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update succeeds redirects to the search page
Failure/Error: redirect_to admin_signatures_url(search_params), notice: :signature_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:86:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:146:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
5) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update succeeds sets the flash notice message
Failure/Error: redirect_to admin_signatures_url(search_params), notice: :signature_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:86:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:151:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
6) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update succeeds changes the notify_by_email attribute
Failure/Error: redirect_to admin_signatures_url(search_params), notice: :signature_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:86:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:157:in `block (6 levels) in <top (required)>'
# ./spec/controllers/admin/signatures_controller_spec.rb:156:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
7) Admin::SignaturesController logged in as moderator user DELETE /admin/signatures/:id when the signature is destroyed redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:68:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:230:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
8) Admin::SignaturesController logged in as moderator user DELETE /admin/signatures/:id when the signature is destroyed sets the flash notice message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:68:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:230:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
9) Admin::SignaturesController logged in as moderator user DELETE /admin/signatures/:id when the signature is not destroyed redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:70:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:246:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
10) Admin::SignaturesController logged in as moderator user DELETE /admin/signatures/:id when the signature is not destroyed sets the flash alert message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:70:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:246:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
11) Admin::SignaturesController logged in as moderator user POST /admin/signatures/subscribe when the signature is subcribed redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:80:in `rescue in bulk_subscribe'
# ./app/controllers/admin/signatures_controller.rb:74:in `bulk_subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:386:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
12) Admin::SignaturesController logged in as moderator user POST /admin/signatures/subscribe when the signature is subcribed sets the flash notice message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:80:in `rescue in bulk_subscribe'
# ./app/controllers/admin/signatures_controller.rb:74:in `bulk_subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:386:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
13) Admin::SignaturesController logged in as moderator user POST /admin/signatures/subscribe when the signature is not subscribed redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:80:in `rescue in bulk_subscribe'
# ./app/controllers/admin/signatures_controller.rb:74:in `bulk_subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:405:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/signature.rb:341:in `block (2 levels) in subscribe!'
14) Admin::SignaturesController logged in as moderator user POST /admin/signatures/subscribe when the signature is not subscribed sets the flash alert message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:80:in `rescue in bulk_subscribe'
# ./app/controllers/admin/signatures_controller.rb:74:in `bulk_subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:405:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/signature.rb:341:in `block (2 levels) in subscribe!'
15) Admin::SignaturesController logged in as moderator user POST /admin/signatures/unsubscribe when the signature is unsubcribed sets the flash notice message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:98:in `rescue in bulk_unsubscribe'
# ./app/controllers/admin/signatures_controller.rb:92:in `bulk_unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:447:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
16) Admin::SignaturesController logged in as moderator user POST /admin/signatures/unsubscribe when the signature is unsubcribed redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:98:in `rescue in bulk_unsubscribe'
# ./app/controllers/admin/signatures_controller.rb:92:in `bulk_unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:447:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
17) Admin::SignaturesController logged in as moderator user POST /admin/signatures/unsubscribe when the signature is not unsubscribed redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:98:in `rescue in bulk_unsubscribe'
# ./app/controllers/admin/signatures_controller.rb:92:in `bulk_unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:466:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/signature.rb:356:in `block (2 levels) in unsubscribe!'
18) Admin::SignaturesController logged in as moderator user POST /admin/signatures/unsubscribe when the signature is not unsubscribed sets the flash alert message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:98:in `rescue in bulk_unsubscribe'
# ./app/controllers/admin/signatures_controller.rb:92:in `bulk_unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:466:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/signature.rb:356:in `block (2 levels) in unsubscribe!'
19) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update fails sets the flash alert message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:106:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:219:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
20) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update fails redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:106:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:214:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
21) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update succeeds sets the flash notice message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:104:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:194:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
22) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update succeeds changes the notify_by_email attribute
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:104:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:200:in `block (6 levels) in <top (required)>'
# ./spec/controllers/admin/signatures_controller_spec.rb:199:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
23) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update succeeds redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:104:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:189:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
24) Admin::SignaturesController logged in as moderator user DELETE /admin/signatures when the signature is not destroyed sets the flash alert message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:62:in `rescue in bulk_destroy'
# ./app/controllers/admin/signatures_controller.rb:56:in `bulk_destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:527:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::RecordNotDestroyed:
# Cannot delete the creator signature
# ./app/models/signature.rb:92:in `block (2 levels) in destroy!'
25) Admin::SignaturesController logged in as moderator user DELETE /admin/signatures when the signature is not destroyed redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:62:in `rescue in bulk_destroy'
# ./app/controllers/admin/signatures_controller.rb:56:in `bulk_destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:527:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::RecordNotDestroyed:
# Cannot delete the creator signature
# ./app/models/signature.rb:92:in `block (2 levels) in destroy!'
26) Admin::SignaturesController logged in as moderator user DELETE /admin/signatures when the signature is destroyed redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:62:in `rescue in bulk_destroy'
# ./app/controllers/admin/signatures_controller.rb:56:in `bulk_destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:508:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
27) Admin::SignaturesController logged in as moderator user DELETE /admin/signatures when the signature is destroyed sets the flash notice message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:62:in `rescue in bulk_destroy'
# ./app/controllers/admin/signatures_controller.rb:56:in `bulk_destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:508:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
28) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/validate when the signature is validated redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:32:in `rescue in validate'
# ./app/controllers/admin/signatures_controller.rb:26:in `validate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:70:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
29) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/validate when the signature is validated sets the flash notice message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:32:in `rescue in validate'
# ./app/controllers/admin/signatures_controller.rb:26:in `validate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:70:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
30) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/validate when the signature is not validated sets the flash alert message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:32:in `rescue in validate'
# ./app/controllers/admin/signatures_controller.rb:26:in `validate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:89:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/controllers/admin/signatures_controller.rb:28:in `validate'
31) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/validate when the signature is not validated redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:32:in `rescue in validate'
# ./app/controllers/admin/signatures_controller.rb:26:in `validate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:89:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/controllers/admin/signatures_controller.rb:28:in `validate'
32) Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/invalidate when the signature is validated sets the flash notice message
Failure/Error: expect(flash[:notice]).to eq("Signature invalidated successfully")
expected: "Signature invalidated successfully"
got: nil
(compared using ==)
# ./spec/controllers/admin/signatures_controller_spec.rb:115:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
33) Admin::SignaturesController logged in as moderator user POST /admin/signatures/validate when the signature is not validated redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:22:in `rescue in bulk_validate'
# ./app/controllers/admin/signatures_controller.rb:16:in `bulk_validate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:283:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/signature.rb:367:in `block (2 levels) in validate!'
34) Admin::SignaturesController logged in as moderator user POST /admin/signatures/validate when the signature is not validated sets the flash alert message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:22:in `rescue in bulk_validate'
# ./app/controllers/admin/signatures_controller.rb:16:in `bulk_validate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:283:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/signature.rb:367:in `block (2 levels) in validate!'
35) Admin::SignaturesController logged in as moderator user POST /admin/signatures/validate when the signature is validated redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:22:in `rescue in bulk_validate'
# ./app/controllers/admin/signatures_controller.rb:16:in `bulk_validate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:264:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
36) Admin::SignaturesController logged in as moderator user POST /admin/signatures/validate when the signature is validated sets the flash notice message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:22:in `rescue in bulk_validate'
# ./app/controllers/admin/signatures_controller.rb:16:in `bulk_validate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:264:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
37) Admin::SignaturesController logged in as moderator user POST /admin/signatures/invalidate when the signature is not invalidated sets the flash alert message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:42:in `rescue in bulk_invalidate'
# ./app/controllers/admin/signatures_controller.rb:36:in `bulk_invalidate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:344:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/signature.rb:167:in `block (2 levels) in invalidate!'
38) Admin::SignaturesController logged in as moderator user POST /admin/signatures/invalidate when the signature is not invalidated redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:42:in `rescue in bulk_invalidate'
# ./app/controllers/admin/signatures_controller.rb:36:in `bulk_invalidate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:344:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/signature.rb:167:in `block (2 levels) in invalidate!'
39) Admin::SignaturesController logged in as moderator user POST /admin/signatures/invalidate when the signature is invalidated redirects to the search page
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:42:in `rescue in bulk_invalidate'
# ./app/controllers/admin/signatures_controller.rb:36:in `bulk_invalidate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:325:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
40) Admin::SignaturesController logged in as moderator user POST /admin/signatures/invalidate when the signature is invalidated sets the flash notice message
Failure/Error: admin_signatures_url(*args)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/signatures_controller.rb:140:in `index_url'
# ./app/controllers/admin/signatures_controller.rb:42:in `rescue in bulk_invalidate'
# ./app/controllers/admin/signatures_controller.rb:36:in `bulk_invalidate'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/signatures_controller_spec.rb:325:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
41) ApplicationController when the site is protected and the request is not local requests authentication
Failure/Error: expect(request).to receive(:local?).and_return(false)
(#<ActionController::TestRequest:0x000000000eb7c1f0 @env={"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x000000000e73ed68>, "rack.errors"=>#<StringIO:0x0000000007694338>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"GET", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>443, "QUERY_STRING"=>"", "rack.url_scheme"=>"http", "HTTPS"=>"on", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0", "HTTP_HOST"=>"petition.parliament.uk", "REMOTE_ADDR"=>"0.0.0.0", "HTTP_USER_AGENT"=>"Rails Testing", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.redirect_filter"=>[], "action_dispatch.secret_token"=>nil, "action_dispatch.secret_key_base"=>"FA11FA11FA11FA11FA11", "action_dispatch.show_exceptions"=>false, "action_dispatch.show_detailed_exceptions"=>true, "action_dispatch.logger"=>#<ActiveSupport::Logger:0x0000000006dd4978 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x0000000006dd4900 @datetime_format=nil>, @formatter=#<ActiveSupport::Logger::SimpleFormatter:0x000000000706cc80 @datetime_format=nil, @thread_key="activesupport_tagged_logging_tags:58943040">, @logdev=#<Logger::LogDevice:0x0000000006dd48b0 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/usr/src/app/log/test.log>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000006dd4860>>, @local_levels=#<Concurrent::Map:0x0000000006dd4798 entries=0 default_proc=nil>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x000000000be77830 @filters=[#<Proc:0x000000000be77718@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:14>, #<Proc:0x000000000be776f0@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:15>, #<Proc:0x000000000be776c8@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:16>, #<Proc:0x000000000be76c78@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:29>], @silencers=[#<Proc:0x000000000be76c50@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:19>], @root="/usr/src/app/">, "action_dispatch.key_generator"=>#<ActiveSupport::CachingKeyGenerator:0x000000000741bc28 @key_generator=#<ActiveSupport::KeyGenerator:0x000000000741bc50 @secret="FA11FA11FA11FA11FA11", @iterations=1000>, @cache_keys=#<Concurrent::Map:0x000000000741bc00 entries=3 default_proc=nil>>, "action_dispatch.http_auth_salt"=>"http authentication", "action_dispatch.signed_cookie_salt"=>"signed cookie", "action_dispatch.encrypted_cookie_salt"=>"encrypted cookie", "action_dispatch.encrypted_signed_cookie_salt"=>"signed encrypted cookie", "action_dispatch.cookies_serializer"=>:json, "action_dispatch.cookies_digest"=>nil, "rack.session"=>{}, "rack.session.options"=>{:key=>"rack.session", :path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :sidbits=>128, :cookie_only=>true, :secure_random=>SecureRandom}, "HTTP_COOKIE"=>"", "PATH_INFO"=>"/anonymous", "action_dispatch.request.path_parameters"=>{:controller=>"anonymous", :action=>"index"}, "action_dispatch.request.flash_hash"=>#<ActionDispatch::Flash::FlashHash:0x000000000e7274d8 @discard=#<Set: {}>, @flashes={}, @now=nil>, "action_controller.instance"=>#<#<Class:0x0000000006d044d0>:0x000000000eb7c740 @_action_has_layout=true, @_routes=nil, @_request=#<ActionController::TestRequest:0x000000000e73ea48 @env={...}, @filtered_parameters={"controller"=>"anonymous", "action"=>"index"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method=nil, @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/anonymous", @ip=nil, @custom_param_parsers={:xml=>#<Proc:0x000000000e73e750@/usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:54 (lambda)>}, @headers=#<ActionDispatch::Http::Headers:0x000000000e722190 @req=#<ActionController::TestRequest:0x000000000e73ea48 ...>>>, @_response=#<ActionDispatch::TestResponse:0x000000000e73e2a0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x000000000e73ddf0>, @header={"X-Frame-Options"=>"SAMEORIGIN", "X-XSS-Protection"=>"1; mode=block", "X-Content-Type-Options"=>"nosniff", "X-UA-Compatible"=>"IE=edge", "WWW-Authenticate"=>"Basic realm=\"Site\"", "Content-Type"=>"text/html; charset=utf-8"}, @stream=#<ActionDispatch::Response::Buffer:0x000000000e67e068 @response=#<ActionDispatch::TestResponse:0x000000000e73e2a0 ...>, @buf=["HTTP Basic: Access denied.\n"], @closed=false, @str_body="HTTP Basic: Access denied.\n">, @status=401, @cv=#<MonitorMixin::ConditionVariable:0x000000000e73db20 @monitor=#<ActionDispatch::TestResponse:0x000000000e73e2a0 ...>, @cond=#<Thread::ConditionVariable:0x000000000e73d8a0>>, @committed=true, @sending=false, @sent=true, @cache_control={}, @response_parser=#<Proc:0x000000000e73c9a0@/usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/testing/request_encoder.rb:7 (lambda)>, @request=#<ActionController::TestRequest:0x000000000e73ea48 @env={...}, @filtered_parameters={"controller"=>"anonymous", "action"=>"index"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method=nil, @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/anonymous", @ip=nil, @custom_param_parsers={:xml=>#<Proc:0x000000000e73e750@/usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:54 (lambda)>}, @headers=#<ActionDispatch::Http::Headers:0x000000000e722190 @req=#<ActionController::TestRequest:0x000000000e73ea48 ...>>>>, @_params=nil, @_url_options=nil, @_lookup_context=#<ActionView::LookupContext:0x000000000e73c680 @details_key=nil, @cache=true, @prefixes=["anonymous", "application"], @rendered_format=nil, @details={:locale=>[:"en-GB"], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}, @view_paths=#<ActionView::PathSet:0x000000000e737f40 @paths=[#<RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator:0x000000000c09b2b0 @resolver=#<ActionView::OptimizedFileSystemResolver:0x0000000006e8e5f8 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x6e8e5d0 keys=8 queries=0>, @path="/usr/src/app/app/views">>, #<RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator:0x000000000c09b288 @resolver=#<ActionView::OptimizedFileSystemResolver:0x0000000006e9c9f0 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x6e9c9c8 keys=5 queries=0>, @path="/usr/local/bundle/gems/jasmine-rails-0.15.0/app/views">>, #<RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator:0x000000000c09b260 @resolver=#<ActionView::OptimizedFileSystemResolver:0x0000000006e9da30 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x6e9da08 keys=5 queries=0>, @path="/usr/local/bundle/gems/delayed-web-0.4.5/app/views">>]>>, @_action_name="index", @_response_body=["HTTP Basic: Access denied.\n"], @marked_for_same_origin_verification=true, @_config={}>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"anonymous", "action"=>"index"}, "action_dispatch.request.formats"=>[#<Mime::Type:0x00000000049c5870 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=-501238866644617988>]}, @filtered_parameters=nil, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method=nil, @request_method=nil, @remote_ip=nil, @original_fullpath=nil, @fullpath=nil, @ip=nil, @custom_param_parsers={:xml=>#<Proc:0x000000000eb7c0b0@/usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:54 (lambda)>}>).local?(*(any args))
expected: 1 time with any arguments
received: 0 times with any arguments
# ./spec/controllers/application_controller_spec.rb:73:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
42) ApplicationController when the site is protected and the request is local does not request authentication
Failure/Error: Site.protected? unless request.local?
(Site(id: integer, title: string, url: string, email_from: string, username: string, password_digest: string, enabled: boolean, protected: boolean, petition_duration: integer, minimum_number_of_sponsors: integer, maximum_number_of_sponsors: integer, threshold_for_moderation: integer, threshold_for_response: integer, threshold_for_debate: integer, last_checked_at: datetime, created_at: datetime, updated_at: datetime, feedback_email: string, moderate_url: string, last_petition_created_at: datetime, login_timeout: integer, feature_flags: jsonb, signature_count_updated_at: datetime, signature_count_interval: integer, update_signature_counts: boolean, threshold_for_moderation_delay: integer) (class)).protected?(no args)
expected: 0 times with any arguments
received: 1 time
# ./app/controllers/application_controller.rb:66:in `site_protected?'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:382:in `block in make_lambda'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:149:in `block (2 levels) in halting_and_conditional'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:149:in `each'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:149:in `all?'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:454:in `block in call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:454:in `each'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:454:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:389:in `get'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/application_controller_spec.rb:66:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
43) ApplicationController when the site is protected and the request is authenticated responds with 200 OK
Failure/Error: expect(request).to receive(:local?).and_return(false)
(#<ActionController::TestRequest:0x000000000e396eb8 @env={"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x000000000e2593c0>, "rack.errors"=>#<StringIO:0x0000000007694338>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"GET", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>443, "QUERY_STRING"=>"", "rack.url_scheme"=>"http", "HTTPS"=>"on", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0", "HTTP_HOST"=>"petition.parliament.uk", "REMOTE_ADDR"=>"0.0.0.0", "HTTP_USER_AGENT"=>"Rails Testing", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.redirect_filter"=>[], "action_dispatch.secret_token"=>nil, "action_dispatch.secret_key_base"=>"FA11FA11FA11FA11FA11", "action_dispatch.show_exceptions"=>false, "action_dispatch.show_detailed_exceptions"=>true, "action_dispatch.logger"=>#<ActiveSupport::Logger:0x0000000006dd4978 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x0000000006dd4900 @datetime_format=nil>, @formatter=#<ActiveSupport::Logger::SimpleFormatter:0x000000000706cc80 @datetime_format=nil, @thread_key="activesupport_tagged_logging_tags:58943040">, @logdev=#<Logger::LogDevice:0x0000000006dd48b0 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/usr/src/app/log/test.log>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000006dd4860>>, @local_levels=#<Concurrent::Map:0x0000000006dd4798 entries=0 default_proc=nil>>, "action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x000000000be77830 @filters=[#<Proc:0x000000000be77718@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:14>, #<Proc:0x000000000be776f0@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:15>, #<Proc:0x000000000be776c8@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:16>, #<Proc:0x000000000be76c78@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:29>], @silencers=[#<Proc:0x000000000be76c50@/usr/local/bundle/gems/railties-5.0.7.2/lib/rails/backtrace_cleaner.rb:19>], @root="/usr/src/app/">, "action_dispatch.key_generator"=>#<ActiveSupport::CachingKeyGenerator:0x000000000741bc28 @key_generator=#<ActiveSupport::KeyGenerator:0x000000000741bc50 @secret="FA11FA11FA11FA11FA11", @iterations=1000>, @cache_keys=#<Concurrent::Map:0x000000000741bc00 entries=3 default_proc=nil>>, "action_dispatch.http_auth_salt"=>"http authentication", "action_dispatch.signed_cookie_salt"=>"signed cookie", "action_dispatch.encrypted_cookie_salt"=>"encrypted cookie", "action_dispatch.encrypted_signed_cookie_salt"=>"signed encrypted cookie", "action_dispatch.cookies_serializer"=>:json, "action_dispatch.cookies_digest"=>nil, "rack.session"=>{}, "rack.session.options"=>{:key=>"rack.session", :path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :sidbits=>128, :cookie_only=>true, :secure_random=>SecureRandom}, "HTTP_AUTHORIZATION"=>"Basic dXNlcm5hbWU6cGFzc3dvcmQ=", "HTTP_COOKIE"=>"", "PATH_INFO"=>"/anonymous", "action_dispatch.request.path_parameters"=>{:controller=>"anonymous", :action=>"index"}, "action_dispatch.request.flash_hash"=>#<ActionDispatch::Flash::FlashHash:0x000000000e254f78 @discard=#<Set: {}>, @flashes={}, @now=nil>, "action_controller.instance"=>#<#<Class:0x0000000006d044d0>:0x000000000e397958 @_action_has_layout=true, @_routes=nil, @_request=#<ActionController::TestRequest:0x000000000e259320 @env={...}, @filtered_parameters={"controller"=>"anonymous", "action"=>"index"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method=nil, @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/anonymous", @ip=nil, @custom_param_parsers={:xml=>#<Proc:0x000000000e259280@/usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:54 (lambda)>}, @headers=#<ActionDispatch::Http::Headers:0x000000000e2525e8 @req=#<ActionController::TestRequest:0x000000000e259320 ...>>, @variant=[]>, @_response=#<ActionDispatch::TestResponse:0x000000000e259190 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x000000000e2590f0>, @header={"X-Frame-Options"=>"SAMEORIGIN", "X-XSS-Protection"=>"1; mode=block", "X-Content-Type-Options"=>"nosniff", "X-UA-Compatible"=>"IE=edge", "Cache-Control"=>"no-store, no-cache", "Content-Type"=>"text/html; charset=utf-8", "Set-Cookie"=>"seen_cookie_message=yes; path=/; expires=Wed, 29 Jul 2020 15:15:08 -0000; HttpOnly"}, @stream=#<ActionDispatch::Response::Buffer:0x000000000e1ceba8 @response=#<ActionDispatch::TestResponse:0x000000000e259190 ...>, @buf=["OK"], @closed=false, @str_body="OK">, @status=200, @cv=#<MonitorMixin::ConditionVariable:0x000000000e259078 @monitor=#<ActionDispatch::TestResponse:0x000000000e259190 ...>, @cond=#<Thread::ConditionVariable:0x000000000e259050>>, @committed=true, @sending=false, @sent=true, @cache_control={}, @response_parser=#<Proc:0x000000000e258e70@/usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/testing/request_encoder.rb:7 (lambda)>, @request=#<ActionController::TestRequest:0x000000000e259320 @env={...}, @filtered_parameters={"controller"=>"anonymous", "action"=>"index"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method=nil, @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/anonymous", @ip=nil, @custom_param_parsers={:xml=>#<Proc:0x000000000e259280@/usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:54 (lambda)>}, @headers=#<ActionDispatch::Http::Headers:0x000000000e2525e8 @req=#<ActionController::TestRequest:0x000000000e259320 ...>>, @variant=[]>>, @_params=nil, @_url_options=nil, @_lookup_context=#<ActionView::LookupContext:0x000000000e258e20 @details_key=nil, @cache=true, @prefixes=["anonymous", "application"], @rendered_format=:html, @details={:locale=>[:"en-GB"], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}, @view_paths=#<ActionView::PathSet:0x000000000e258d30 @paths=[#<RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator:0x000000000c09b2b0 @resolver=#<ActionView::OptimizedFileSystemResolver:0x0000000006e8e5f8 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x6e8e5d0 keys=8 queries=0>, @path="/usr/src/app/app/views">>, #<RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator:0x000000000c09b288 @resolver=#<ActionView::OptimizedFileSystemResolver:0x0000000006e9c9f0 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x6e9c9c8 keys=5 queries=0>, @path="/usr/local/bundle/gems/jasmine-rails-0.15.0/app/views">>, #<RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator:0x000000000c09b260 @resolver=#<ActionView::OptimizedFileSystemResolver:0x0000000006e9da30 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x6e9da08 keys=5 queries=0>, @path="/usr/local/bundle/gems/delayed-web-0.4.5/app/views">>]>>, @_action_name="index", @_response_body=["OK"], @marked_for_same_origin_verification=true, @_config={}, @show_cookie_message=true, @_db_runtime=1.8631, @_view_context_class=#<Class:0x000000000cf97ac0>, @_view_renderer=#<ActionView::Renderer:0x000000000e1cfc10 @lookup_context=#<ActionView::LookupContext:0x000000000e258e20 @details_key=nil, @cache=true, @prefixes=["anonymous", "application"], @rendered_format=:html, @details={:locale=>[:"en-GB"], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}, @view_paths=#<ActionView::PathSet:0x000000000e258d30 @paths=[#<RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator:0x000000000c09b2b0 @resolver=#<ActionView::OptimizedFileSystemResolver:0x0000000006e8e5f8 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x6e8e5d0 keys=8 queries=0>, @path="/usr/src/app/app/views">>, #<RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator:0x000000000c09b288 @resolver=#<ActionView::OptimizedFileSystemResolver:0x0000000006e9c9f0 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x6e9c9c8 keys=5 queries=0>, @path="/usr/local/bundle/gems/jasmine-rails-0.15.0/app/views">>, #<RSpec::Rails::ViewRendering::EmptyTemplateResolver::ResolverDecorator:0x000000000c09b260 @resolver=#<ActionView::OptimizedFileSystemResolver:0x0000000006e9da30 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x6e9da08 keys=5 queries=0>, @path="/usr/local/bundle/gems/delayed-web-0.4.5/app/views">>]>>>, @_view_runtime=2.629700000397861>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"anonymous", "action"=>"index"}, "action_dispatch.request.formats"=>[#<Mime::Type:0x00000000049c5870 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=-501238866644617988>], "rack.request.cookie_hash"=>{}, "rack.request.cookie_string"=>"", "action_dispatch.cookies"=>#<ActionDispatch::Cookies::CookieJar:0x000000000e1ee9f8 @set_cookies={"seen_cookie_message"=>{:value=>"yes", :expires=>Wed, 29 Jul 2020 16:15:08 BST +01:00, :httponly=>true, :path=>"/"}}, @delete_cookies={}, @request=#<ActionController::TestRequest:0x000000000e259320 @env={...}, @filtered_parameters={"controller"=>"anonymous", "action"=>"index"}, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method=nil, @request_method="GET", @remote_ip=nil, @original_fullpath=nil, @fullpath="/anonymous", @ip=nil, @custom_param_parsers={:xml=>#<Proc:0x000000000e259280@/usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:54 (lambda)>}, @headers=#<ActionDispatch::Http::Headers:0x000000000e2525e8 @req=#<ActionController::TestRequest:0x000000000e259320 ...>>, @variant=[]>, @cookies={"seen_cookie_message"=>"yes"}, @committed=false>}, @filtered_parameters=nil, @filtered_env=nil, @filtered_path=nil, @protocol=nil, @port=nil, @method=nil, @request_method=nil, @remote_ip=nil, @original_fullpath=nil, @fullpath=nil, @ip=nil, @custom_param_parsers={:xml=>#<Proc:0x000000000e396c38@/usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:54 (lambda)>}>).local?(*(any args))
expected: 1 time with any arguments
received: 0 times with any arguments
# ./spec/controllers/application_controller_spec.rb:87:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
44) ApplicationController when the url has an invalid format redirects to the home page
Failure/Error: expect(response).to redirect_to("https://petition.parliament.uk/")
Expected response to be a <3XX: redirect>, but was a <200: OK>
# ./spec/controllers/application_controller_spec.rb:119:in `block (3 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
45) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the invalidation is still pending redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:80:in `count'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:311:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
46) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the invalidation is still pending sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:80:in `count'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:311:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
47) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the invalidation is no longer pending sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:85:in `count'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:325:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
48) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the invalidation is no longer pending redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:85:in `count'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:325:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
49) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the count fails for an unknown reason redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:82:in `count'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:343:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
50) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the count fails for an unknown reason sets the flash alert message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:82:in `count'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:343:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
51) Admin::InvalidationsController when logged in as a sysadmin PATCH /admin/invalidations/:id when the invalidation is not pending sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:49:in `update'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:403:in `patch'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:144:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
52) Admin::InvalidationsController when logged in as a sysadmin PATCH /admin/invalidations/:id when the invalidation is not pending redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:49:in `update'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:403:in `patch'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:144:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
53) Admin::InvalidationsController when logged in as a sysadmin GET /admin/invalidations/:id/edit when the invalidation is not pending sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:35:in `edit'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:389:in `get'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:116:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
54) Admin::InvalidationsController when logged in as a sysadmin GET /admin/invalidations/:id/edit when the invalidation is not pending redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:35:in `edit'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:389:in `get'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:116:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
55) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the invalidation has not completed redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:70:in `cancel'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:262:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
56) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the invalidation has not completed sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:70:in `cancel'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:262:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
57) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the cancel fails for an unknown reason redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:72:in `cancel'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:294:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
58) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the cancel fails for an unknown reason sets the flash alert message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:72:in `cancel'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:294:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
59) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the invalidation has completed sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:67:in `cancel'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:276:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
60) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the invalidation has completed redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:67:in `cancel'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:276:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
61) Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the destroy fails for an unknown reason sets the flash alert message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:60:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:245:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
62) Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the destroy fails for an unknown reason redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:60:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:245:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
63) Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is cancelled, but not started sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:58:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:213:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
64) Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is cancelled, but not started redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:58:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:213:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
65) Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is still pending sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:58:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:199:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
66) Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is still pending redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:58:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:199:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
67) Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is not pending redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:55:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:227:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
68) Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is not pending sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:55:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:227:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
69) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the invalidation is still pending sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:92:in `start'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:360:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
70) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the invalidation is still pending redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:92:in `start'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:360:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
71) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the start fails for an unknown reason redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:94:in `start'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:392:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
72) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the start fails for an unknown reason sets the flash alert message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:94:in `start'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:392:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
73) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the invalidation is no longer pending sets the flash notice message
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:97:in `start'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:374:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
74) Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the invalidation is no longer pending redirects to the index page
Failure/Error: admin_invalidations_url(params.slice(:state, :q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/invalidations_controller.rb:128:in `index_url'
# ./app/controllers/admin/invalidations_controller.rb:132:in `redirect_to_index_url'
# ./app/controllers/admin/invalidations_controller.rb:97:in `start'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/invalidations_controller_spec.rb:374:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
75) Admin::SearchesController when logged in as a moderator GET /admin/search when searching for petitions with no tags redirects to the petitions search url
Failure/Error: redirect_to admin_petitions_url(search_params)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/searches_controller.rb:4:in `show'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:389:in `get'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/searches_controller_spec.rb:46:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
76) Admin::SearchesController when logged in as a moderator GET /admin/search when searching for petitions with tags redirects to the petitions search url
Failure/Error: redirect_to admin_petitions_url(search_params)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/searches_controller.rb:4:in `show'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:389:in `get'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/searches_controller_spec.rb:39:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
77) Admin::SearchesController when logged in as a moderator GET /admin/search when searching for signatures redirects to the signatures search url
Failure/Error: redirect_to admin_signatures_url(search_params)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/searches_controller.rb:6:in `show'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:389:in `get'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/searches_controller_spec.rb:53:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
78) Admin::SearchesController when logged in as a moderator GET /admin/search when searching for signatures in a time period redirects to the signatures search url
Failure/Error: redirect_to admin_signatures_url(search_params)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/searches_controller.rb:6:in `show'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:389:in `get'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/searches_controller_spec.rb:60:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
79) Admin::SearchesController when logged in as a moderator GET /admin/search when searching for petitions redirects to the petitions search url
Failure/Error: redirect_to admin_petitions_url(search_params)
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/searches_controller.rb:4:in `show'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:389:in `get'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/searches_controller_spec.rb:32:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
80) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update fails redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signature_not_unsubscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:65:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:140:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
81) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update fails sets the flash alert message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signature_not_unsubscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:65:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:145:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
82) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update succeeds redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), notice: :signature_unsubscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:63:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:115:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
83) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update succeeds changes the notify_by_email attribute
Failure/Error: redirect_to admin_archived_signatures_url(search_params), notice: :signature_unsubscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:63:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:126:in `block (6 levels) in <top (required)>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:125:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
84) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update succeeds sets the flash notice message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), notice: :signature_unsubscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:63:in `unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:120:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
85) Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures when the signature is not destroyed sets the flash alert message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_deleted
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:21:in `rescue in bulk_destroy'
# ./app/controllers/admin/archived/signatures_controller.rb:15:in `bulk_destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:331:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::RecordNotDestroyed:
# Cannot delete the creator signature
# ./app/models/archived/signature.rb:64:in `block (2 levels) in destroy!'
86) Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures when the signature is not destroyed redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_deleted
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:21:in `rescue in bulk_destroy'
# ./app/controllers/admin/archived/signatures_controller.rb:15:in `bulk_destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:331:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::RecordNotDestroyed:
# Cannot delete the creator signature
# ./app/models/archived/signature.rb:64:in `block (2 levels) in destroy!'
87) Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures when the signature is destroyed redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_deleted
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:21:in `rescue in bulk_destroy'
# ./app/controllers/admin/archived/signatures_controller.rb:15:in `bulk_destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:312:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
88) Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures when the signature is destroyed sets the flash notice message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_deleted
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:21:in `rescue in bulk_destroy'
# ./app/controllers/admin/archived/signatures_controller.rb:15:in `bulk_destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:312:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
89) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/subscribe when the signature is not subscribed sets the flash alert message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:39:in `rescue in bulk_subscribe'
# ./app/controllers/admin/archived/signatures_controller.rb:33:in `bulk_subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:209:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/archived/signature.rb:167:in `block (2 levels) in subscribe!'
90) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/subscribe when the signature is not subscribed redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:39:in `rescue in bulk_subscribe'
# ./app/controllers/admin/archived/signatures_controller.rb:33:in `bulk_subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:209:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/archived/signature.rb:167:in `block (2 levels) in subscribe!'
91) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/subscribe when the signature is subcribed sets the flash notice message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:39:in `rescue in bulk_subscribe'
# ./app/controllers/admin/archived/signatures_controller.rb:33:in `bulk_subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:190:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
92) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/subscribe when the signature is subcribed redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:39:in `rescue in bulk_subscribe'
# ./app/controllers/admin/archived/signatures_controller.rb:33:in `bulk_subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:190:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
93) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update fails redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signature_not_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:47:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:97:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
94) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update fails sets the flash alert message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signature_not_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:47:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:102:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
95) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update succeeds changes the notify_by_email attribute
Failure/Error: redirect_to admin_archived_signatures_url(search_params), notice: :signature_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:45:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:83:in `block (6 levels) in <top (required)>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:82:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
96) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update succeeds redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), notice: :signature_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:45:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:72:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
97) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update succeeds sets the flash notice message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), notice: :signature_subscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:45:in `subscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:77:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
98) Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures/:id when the signature is destroyed sets the flash notice message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), notice: :signature_deleted
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:27:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:156:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
99) Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures/:id when the signature is destroyed redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), notice: :signature_deleted
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:27:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:156:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
100) Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures/:id when the signature is not destroyed sets the flash alert message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signature_not_deleted
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:29:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:172:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
101) Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures/:id when the signature is not destroyed redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signature_not_deleted
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:29:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:172:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
102) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/unsubscribe when the signature is not unsubscribed redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_unsubscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:57:in `rescue in bulk_unsubscribe'
# ./app/controllers/admin/archived/signatures_controller.rb:51:in `bulk_unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:270:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/archived/signature.rb:182:in `block (2 levels) in unsubscribe!'
103) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/unsubscribe when the signature is not unsubscribed sets the flash alert message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_unsubscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:57:in `rescue in bulk_unsubscribe'
# ./app/controllers/admin/archived/signatures_controller.rb:51:in `bulk_unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:270:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActiveRecord::StatementInvalid:
# Invalid SQL
# ./app/models/archived/signature.rb:182:in `block (2 levels) in unsubscribe!'
104) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/unsubscribe when the signature is unsubcribed sets the flash notice message
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_unsubscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:57:in `rescue in bulk_unsubscribe'
# ./app/controllers/admin/archived/signatures_controller.rb:51:in `bulk_unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:251:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
105) Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/unsubscribe when the signature is unsubcribed redirects to the search page
Failure/Error: redirect_to admin_archived_signatures_url(search_params), alert: :signatures_not_unsubscribed
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/archived/signatures_controller.rb:57:in `rescue in bulk_unsubscribe'
# ./app/controllers/admin/archived/signatures_controller.rb:51:in `bulk_unsubscribe'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/archived/signatures_controller_spec.rb:251:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ArgumentError:
# Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
106) Admin::TagsController when logged in as a sysadmin PATCH /admin/tags/:id and the params are valid sets the flash notice message
Failure/Error: admin_tags_url(params.slice(:q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/tags_controller.rb:77:in `index_url'
# ./app/controllers/admin/tags_controller.rb:81:in `redirect_to_index_url'
# ./app/controllers/admin/tags_controller.rb:38:in `update'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:403:in `patch'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/tags_controller_spec.rb:126:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
107) Admin::TagsController when logged in as a sysadmin PATCH /admin/tags/:id and the params are valid redirects to the index page
Failure/Error: admin_tags_url(params.slice(:q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/tags_controller.rb:77:in `index_url'
# ./app/controllers/admin/tags_controller.rb:81:in `redirect_to_index_url'
# ./app/controllers/admin/tags_controller.rb:38:in `update'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:403:in `patch'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/tags_controller_spec.rb:126:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
108) Admin::TagsController when logged in as a sysadmin DELETE /admin/tags/:id sets the flash notice message
Failure/Error: admin_tags_url(params.slice(:q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/tags_controller.rb:77:in `index_url'
# ./app/controllers/admin/tags_controller.rb:81:in `redirect_to_index_url'
# ./app/controllers/admin/tags_controller.rb:47:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/tags_controller_spec.rb:160:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
109) Admin::TagsController when logged in as a sysadmin DELETE /admin/tags/:id redirects to the index page
Failure/Error: admin_tags_url(params.slice(:q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/tags_controller.rb:77:in `index_url'
# ./app/controllers/admin/tags_controller.rb:81:in `redirect_to_index_url'
# ./app/controllers/admin/tags_controller.rb:47:in `destroy'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:415:in `delete'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/tags_controller_spec.rb:160:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
110) Admin::TagsController when logged in as a sysadmin POST /admin/tags with valid params redirects to the index page
Failure/Error: admin_tags_url(params.slice(:q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/tags_controller.rb:77:in `index_url'
# ./app/controllers/admin/tags_controller.rb:81:in `redirect_to_index_url'
# ./app/controllers/admin/tags_controller.rb:22:in `create'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/tags_controller_spec.rb:78:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
111) Admin::TagsController when logged in as a sysadmin POST /admin/tags with valid params sets the flash notice message
Failure/Error: admin_tags_url(params.slice(:q))
ArgumentError:
Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure.
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_dispatch/routing/route_set.rb:294:in `block (2 levels) in define_url_helper'
# ./app/controllers/admin/tags_controller.rb:77:in `index_url'
# ./app/controllers/admin/tags_controller.rb:81:in `redirect_to_index_url'
# ./app/controllers/admin/tags_controller.rb:22:in `create'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:188:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rendering.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:126:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:455:in `call'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/callbacks.rb:90:in `run_callbacks'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/rescue.rb:20:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
# /usr/local/bundle/gems/activerecord-5.0.7.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/abstract_controller/base.rb:126:in `process'
# /usr/local/bundle/gems/actionview-5.0.7.2/lib/action_view/rendering.rb:30:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/metal.rb:190:in `dispatch'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:547:in `process'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61:in `process'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:649:in `process_with_kwargs'
# /usr/local/bundle/gems/actionpack-5.0.7.2/lib/action_controller/test_case.rb:397:in `post'
# /usr/local/bundle/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13:in `block (2 levels) in <module:Integration>'
# ./spec/controllers/admin/tags_controller_spec.rb:78:in `block (4 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
112) SponsorsController POST /petitions/:petition_id/sponsors when the petition is validated and the signature is not a duplicate deletes the form request details
Failure/Error: expect(cookies.encrypted["wYonHKjTeW7mtTusqDv"]).to be_nil
expected: nil
got: "2019-04-18T06:00:00Z"
# ./spec/controllers/sponsors_controller_spec.rb:420:in `block (6 levels) in <top (required)>'
# ./spec/controllers/sponsors_controller_spec.rb:368:in `block (6 levels) in <top (required)>'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/testing/time_helpers.rb:110:in `travel_to'
# ./spec/controllers/sponsors_controller_spec.rb:368:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
113) SponsorsController POST /petitions/:petition_id/sponsors when the petition is pending and the signature is not a duplicate deletes the form request details
Failure/Error: expect(cookies.encrypted["wYonHKjTeW7mtTusqDv"]).to be_nil
expected: nil
got: "2019-04-18T06:00:00Z"
# ./spec/controllers/sponsors_controller_spec.rb:420:in `block (6 levels) in <top (required)>'
# ./spec/controllers/sponsors_controller_spec.rb:368:in `block (6 levels) in <top (required)>'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/testing/time_helpers.rb:110:in `travel_to'
# ./spec/controllers/sponsors_controller_spec.rb:368:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
114) SponsorsController POST /petitions/:petition_id/sponsors when the petition is sponsored and the signature is not a duplicate deletes the form request details
Failure/Error: expect(cookies.encrypted["wYonHKjTeW7mtTusqDv"]).to be_nil
expected: nil
got: "2019-04-18T06:00:00Z"
# ./spec/controllers/sponsors_controller_spec.rb:420:in `block (6 levels) in <top (required)>'
# ./spec/controllers/sponsors_controller_spec.rb:368:in `block (6 levels) in <top (required)>'
# /usr/local/bundle/gems/activesupport-5.0.7.2/lib/active_support/testing/time_helpers.rb:110:in `travel_to'
# ./spec/controllers/sponsors_controller_spec.rb:368:in `block (5 levels) in <top (required)>'
# ./spec/support/database_cleaner.rb:10:in `block (3 levels) in <top (required)>'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/generic/base.rb:16:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/base.rb:98:in `cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:86:in `block (2 levels) in cleaning'
# /usr/local/bundle/gems/database_cleaner-1.6.2/lib/database_cleaner/configuration.rb:87:in `cleaning'
# ./spec/support/database_cleaner.rb:9:in `block (2 levels) in <top (required)>'
Finished in 10 minutes 32 seconds (files took 12.29 seconds to load)
1914 examples, 114 failures
Failed examples:
rspec ./spec/controllers/signatures_controller_spec.rb:339 # SignaturesController POST /petitions/:petition_id/signatures when the petition is open and the signature is not a duplicate deletes the form request details
rspec ./spec/controllers/admin/signatures_controller_spec.rb:170 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update fails redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:175 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update fails sets the flash alert message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:145 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update succeeds redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:150 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update succeeds sets the flash notice message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:155 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/subscribe and the update succeeds changes the notify_by_email attribute
rspec ./spec/controllers/admin/signatures_controller_spec.rb:233 # Admin::SignaturesController logged in as moderator user DELETE /admin/signatures/:id when the signature is destroyed redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:237 # Admin::SignaturesController logged in as moderator user DELETE /admin/signatures/:id when the signature is destroyed sets the flash notice message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:249 # Admin::SignaturesController logged in as moderator user DELETE /admin/signatures/:id when the signature is not destroyed redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:253 # Admin::SignaturesController logged in as moderator user DELETE /admin/signatures/:id when the signature is not destroyed sets the flash alert message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:389 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/subscribe when the signature is subcribed redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:393 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/subscribe when the signature is subcribed sets the flash notice message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:408 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/subscribe when the signature is not subscribed redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:412 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/subscribe when the signature is not subscribed sets the flash alert message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:454 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/unsubscribe when the signature is unsubcribed sets the flash notice message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:450 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/unsubscribe when the signature is unsubcribed redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:469 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/unsubscribe when the signature is not unsubscribed redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:473 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/unsubscribe when the signature is not unsubscribed sets the flash alert message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:218 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update fails sets the flash alert message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:213 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update fails redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:193 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update succeeds sets the flash notice message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:198 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update succeeds changes the notify_by_email attribute
rspec ./spec/controllers/admin/signatures_controller_spec.rb:188 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/unsubscribe and the update succeeds redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:534 # Admin::SignaturesController logged in as moderator user DELETE /admin/signatures when the signature is not destroyed sets the flash alert message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:530 # Admin::SignaturesController logged in as moderator user DELETE /admin/signatures when the signature is not destroyed redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:511 # Admin::SignaturesController logged in as moderator user DELETE /admin/signatures when the signature is destroyed redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:515 # Admin::SignaturesController logged in as moderator user DELETE /admin/signatures when the signature is destroyed sets the flash notice message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:73 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/validate when the signature is validated redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:77 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/validate when the signature is validated sets the flash notice message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:96 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/validate when the signature is not validated sets the flash alert message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:92 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/validate when the signature is not validated redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:114 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/:id/invalidate when the signature is validated sets the flash notice message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:286 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/validate when the signature is not validated redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:290 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/validate when the signature is not validated sets the flash alert message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:267 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/validate when the signature is validated redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:271 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/validate when the signature is validated sets the flash notice message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:351 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/invalidate when the signature is not invalidated sets the flash alert message
rspec ./spec/controllers/admin/signatures_controller_spec.rb:347 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/invalidate when the signature is not invalidated redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:328 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/invalidate when the signature is invalidated redirects to the search page
rspec ./spec/controllers/admin/signatures_controller_spec.rb:332 # Admin::SignaturesController logged in as moderator user POST /admin/signatures/invalidate when the signature is invalidated sets the flash notice message
rspec ./spec/controllers/application_controller_spec.rb:77 # ApplicationController when the site is protected and the request is not local requests authentication
rspec ./spec/controllers/application_controller_spec.rb:65 # ApplicationController when the site is protected and the request is local does not request authentication
rspec ./spec/controllers/application_controller_spec.rb:92 # ApplicationController when the site is protected and the request is authenticated responds with 200 OK
rspec ./spec/controllers/application_controller_spec.rb:117 # ApplicationController when the url has an invalid format redirects to the home page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:313 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the invalidation is still pending redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:317 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the invalidation is still pending sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:331 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the invalidation is no longer pending sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:327 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the invalidation is no longer pending redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:346 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the count fails for an unknown reason redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:350 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/count when the count fails for an unknown reason sets the flash alert message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:189 # Admin::InvalidationsController when logged in as a sysadmin PATCH /admin/invalidations/:id when the invalidation is not pending sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:185 # Admin::InvalidationsController when logged in as a sysadmin PATCH /admin/invalidations/:id when the invalidation is not pending redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:137 # Admin::InvalidationsController when logged in as a sysadmin GET /admin/invalidations/:id/edit when the invalidation is not pending sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:133 # Admin::InvalidationsController when logged in as a sysadmin GET /admin/invalidations/:id/edit when the invalidation is not pending redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:264 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the invalidation has not completed redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:268 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the invalidation has not completed sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:297 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the cancel fails for an unknown reason redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:301 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the cancel fails for an unknown reason sets the flash alert message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:282 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the invalidation has completed sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:278 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/cancel when the invalidation has completed redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:252 # Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the destroy fails for an unknown reason sets the flash alert message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:248 # Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the destroy fails for an unknown reason redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:219 # Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is cancelled, but not started sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:215 # Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is cancelled, but not started redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:205 # Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is still pending sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:201 # Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is still pending redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:229 # Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is not pending redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:233 # Admin::InvalidationsController when logged in as a sysadmin DELETE /admin/invalidations/:id when the invalidation is not pending sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:366 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the invalidation is still pending sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:362 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the invalidation is still pending redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:395 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the start fails for an unknown reason redirects to the index page
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:399 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the start fails for an unknown reason sets the flash alert message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:380 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the invalidation is no longer pending sets the flash notice message
rspec ./spec/controllers/admin/invalidations_controller_spec.rb:376 # Admin::InvalidationsController when logged in as a sysadmin POST /admin/invalidations/:id/start when the invalidation is no longer pending redirects to the index page
rspec ./spec/controllers/admin/searches_controller_spec.rb:45 # Admin::SearchesController when logged in as a moderator GET /admin/search when searching for petitions with no tags redirects to the petitions search url
rspec ./spec/controllers/admin/searches_controller_spec.rb:38 # Admin::SearchesController when logged in as a moderator GET /admin/search when searching for petitions with tags redirects to the petitions search url
rspec ./spec/controllers/admin/searches_controller_spec.rb:52 # Admin::SearchesController when logged in as a moderator GET /admin/search when searching for signatures redirects to the signatures search url
rspec ./spec/controllers/admin/searches_controller_spec.rb:59 # Admin::SearchesController when logged in as a moderator GET /admin/search when searching for signatures in a time period redirects to the signatures search url
rspec ./spec/controllers/admin/searches_controller_spec.rb:31 # Admin::SearchesController when logged in as a moderator GET /admin/search when searching for petitions redirects to the petitions search url
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:139 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update fails redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:144 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update fails sets the flash alert message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:114 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update succeeds redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:124 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update succeeds changes the notify_by_email attribute
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:119 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/unsubscribe and the update succeeds sets the flash notice message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:338 # Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures when the signature is not destroyed sets the flash alert message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:334 # Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures when the signature is not destroyed redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:315 # Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures when the signature is destroyed redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:319 # Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures when the signature is destroyed sets the flash notice message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:216 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/subscribe when the signature is not subscribed sets the flash alert message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:212 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/subscribe when the signature is not subscribed redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:197 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/subscribe when the signature is subcribed sets the flash notice message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:193 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/subscribe when the signature is subcribed redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:96 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update fails redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:101 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update fails sets the flash alert message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:81 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update succeeds changes the notify_by_email attribute
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:71 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update succeeds redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:76 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/:id/subscribe and the update succeeds sets the flash notice message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:163 # Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures/:id when the signature is destroyed sets the flash notice message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:159 # Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures/:id when the signature is destroyed redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:179 # Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures/:id when the signature is not destroyed sets the flash alert message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:175 # Admin::Archived::SignaturesController logged in as moderator user DELETE /admin/archived/signatures/:id when the signature is not destroyed redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:273 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/unsubscribe when the signature is not unsubscribed redirects to the search page
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:277 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/unsubscribe when the signature is not unsubscribed sets the flash alert message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:258 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/unsubscribe when the signature is unsubcribed sets the flash notice message
rspec ./spec/controllers/admin/archived/signatures_controller_spec.rb:254 # Admin::Archived::SignaturesController logged in as moderator user POST /admin/archived/signatures/unsubscribe when the signature is unsubcribed redirects to the search page
rspec ./spec/controllers/admin/tags_controller_spec.rb:151 # Admin::TagsController when logged in as a sysadmin PATCH /admin/tags/:id and the params are valid sets the flash notice message
rspec ./spec/controllers/admin/tags_controller_spec.rb:147 # Admin::TagsController when logged in as a sysadmin PATCH /admin/tags/:id and the params are valid redirects to the index page
rspec ./spec/controllers/admin/tags_controller_spec.rb:166 # Admin::TagsController when logged in as a sysadmin DELETE /admin/tags/:id sets the flash notice message
rspec ./spec/controllers/admin/tags_controller_spec.rb:162 # Admin::TagsController when logged in as a sysadmin DELETE /admin/tags/:id redirects to the index page
rspec ./spec/controllers/admin/tags_controller_spec.rb:99 # Admin::TagsController when logged in as a sysadmin POST /admin/tags with valid params redirects to the index page
rspec ./spec/controllers/admin/tags_controller_spec.rb:103 # Admin::TagsController when logged in as a sysadmin POST /admin/tags with valid params sets the flash notice message
rspec './spec/controllers/sponsors_controller_spec.rb[1:3:10:1:7]' # SponsorsController POST /petitions/:petition_id/sponsors when the petition is validated and the signature is not a duplicate deletes the form request details
rspec './spec/controllers/sponsors_controller_spec.rb[1:3:9:1:7]' # SponsorsController POST /petitions/:petition_id/sponsors when the petition is pending and the signature is not a duplicate deletes the form request details
rspec './spec/controllers/sponsors_controller_spec.rb[1:3:11:1:7]' # SponsorsController POST /petitions/:petition_id/sponsors when the petition is sponsored and the signature is not a duplicate deletes the form request details
Randomized with seed 14982
Cleaning up...
Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment