Skip to content

Commit dd8a5f6

Browse files
committed
Enable support for rspec --next-failure.
1 parent 9f786ad commit dd8a5f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/spec_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
config.filter_run_when_matching :focus
2626

2727
config.before(:each) { Grape::Util::InheritableSetting.reset_global! }
28+
29+
# Enable flags like --only-failures and --next-failure
30+
config.example_status_persistence_file_path = ".rspec_status"
2831
end
2932

3033
require 'coveralls'

0 commit comments

Comments
 (0)