Skip to content

Commit 77bf6d6

Browse files
committed
Configure RSpec to keep track of failed examples
1 parent d1d7b24 commit 77bf6d6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ Gemfile.lock
99
*.swo
1010
.idea
1111
tmp
12+
spec/examples.txt

spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@
1616
def fixture_file(filename)
1717
File.read(File.dirname(__FILE__) + "/fixtures/#{filename}")
1818
end
19+
20+
RSpec.configure do |config|
21+
config.example_status_persistence_file_path = 'spec/examples.txt'
22+
end

0 commit comments

Comments
 (0)