`binding.pry` errors out on master
Failure/Error:
def prompt(message, choices = nil)
begin
print(message)
answer = STDIN.gets.chomp
end while choices.present? && !choices.include?(answer)
answer
ArgumentError:
wrong number of arguments (given 0, expected 1..2)
# ./lib/tasks/gitlab/task_helpers.rb:45:in `prompt'
To reproduce: Add binding.pry
to any spec and run it with rspec
.
Likely introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13249