[Rails5] ArgumentError: wrong number of arguments (given 1, expected 2)
Note: add
rails5to a branch name to trigger rails5 specific CI jobs.
https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/77073866
19) Applications::CreateService creates an audit log
Failure/Error: let(:request) { ActionController::TestRequest.new(remote_ip: '127.0.0.1') }
ArgumentError:
wrong number of arguments (given 1, expected 2)
# ./ee/spec/services/applications/create_service_spec.rb:6:in `new'
# ./ee/spec/services/applications/create_service_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./ee/spec/services/applications/create_service_spec.rb:13:in `block (3 levels) in <top (required)>'
# ./ee/spec/services/applications/create_service_spec.rb:13:in `block (2 levels) in <top (required)>'