Error due to header value in group feature spec
There is a spec error in spec/features/groups_spec.rb:47
. A header value is defined as an integer and later is called with the String method #strip
.
Failures:
1) Group create a group as a non-admin with current organization setting in middleware for setting from the header sets the organization to another organization
Failure/Error: super(env)
NoMethodError:
undefined method `strip' for 1061:Integer
# ./lib/gitlab/webpack/dev_server_middleware.rb:32:in `perform_request'
# ./lib/gitlab/testing/clear_process_memory_cache_middleware.rb:13:in `call'
# ./lib/gitlab/testing/request_inspector_middleware.rb:40:in `call'
# ./lib/gitlab/testing/robots_blocker_middleware.rb:30:in `call'
# ./lib/gitlab/testing/request_blocker_middleware.rb:47:in `call'
# ./lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call'
# ./lib/gitlab/middleware/sidekiq_web_static.rb:20:in `call'
# ./lib/gitlab/metrics/requests_rack_middleware.rb:79:in `call'
# ------------------
# --- Caused by: ---
# Capybara::CapybaraError:
# Your application server raised an error - It has been raised in your test code because Capybara.raise_server_errors == true
# ./spec/support/capybara.rb:224:in `block (2 levels) in <main>'
Finished in 15.3 seconds (files took 13.28 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/features/groups_spec.rb:47 # Group create a group as a non-admin with current organization setting in middleware for setting from the header sets the organization to another organization