Skip to content

Commit

Permalink
Use simpler rspec pattern
Browse files Browse the repository at this point in the history
This should help the exclude spec files from symlinked node_modules folders in the dummy app.
  • Loading branch information
tvdeyen committed Mar 9, 2022
1 parent ef2dbab commit 50b192e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ spec/dummy/uploads/
.ruby-gemset
.ruby-version
.env
.rspec
node_modules
yarn-error.log
yarn-debug.log*
Expand Down
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--require spec_helper
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
RSpec.configure do |config|
config.raise_errors_for_deprecations!
config.run_all_when_everything_filtered = true
config.pattern = "**/*_spec.rb"
config.filter_run :focus
config.include WebMock::API, type: :controller
end

0 comments on commit 50b192e

Please sign in to comment.