Skip to content

Allow Pathname arguments to be escaped

gitlab-qa-bot requested to merge github/fork/avit/pathnames into master

Created by: avit

An error is raised by using a Rails project that is configured with:

config.autoload_paths << config.root.join('app/decorators')

And then running rspec bisect:

Running suite to find failures...
/usr/local/bundle/gems/rspec-core-3.7.0/lib/rspec/core/shell_escape.rb:20:in `escape':
  undefined method `shellescape' for #<Pathname:/app/app/decorators> (NoMethodError)

Merge request reports