Rspec: --exclude-pattern not working

We have this working in rspec tests. The only difference in our case is we’re using double quotes around the pattern:

–exclude-pattern “spec/api/{controller,grape}/**/*_spec.rb”

1 Like