Skip to content

Commit 9c20eda

Browse files
committed
chore: update rspec config
1 parent e284d33 commit 9c20eda

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ Gemfile.lock
3131
build
3232

3333
vendor/bundle/
34+
./spec/examples.txt

spec/spec_helper.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
config.include(FakeFS::SpecHelpers, :fakefs => true)
2121
config.filter_run_excluding :mri_only => is_java
2222
config.filter_run_excluding :skip_travis => is_travis
23-
23+
if config.respond_to?(:example_status_persistence_file_path=)
24+
config.example_status_persistence_file_path = "./spec/examples.txt"
25+
end
2426
config.mock_with :rspec do |mocks|
2527
mocks.verify_partial_doubles = true
2628
end

0 commit comments

Comments
 (0)