Skip to content

Commit ed6fa22

Browse files
authored
Run tests even if the file name suffix is not '_spec.rb’ (#417)
By default, RSpec does not run tests if the file name suffix is not "_spec.rb". To prevent mistakes, I think it's best to explicitly run all tests. In fact, spec/api/** had not been executed for a long time.
1 parent bc3cbf3 commit ed6fa22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.rspec

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
--format documentation
22
--color
3+
--pattern 'spec/**/*.rb'
4+
--exclude-pattern 'spec/fixtures/**/*.rb'

0 commit comments

Comments
 (0)