Skip to content

Commit 4b82a49

Browse files
committed
Upgrade to latest RSpec to use --only-failures option
1 parent 78ffc87 commit 4b82a49

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
/spec/reports/
99
/tmp/
1010
.DS_Store
11+
/spec/examples.txt

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
33
# Specify your gem's dependencies in csv-importer.gemspec
44
gemspec
55

6-
gem 'rspec'
6+
gem 'rspec', '~> 3.3.0'
77
gem 'guard-rspec'
88
gem 'activemodel'
99
gem 'simplecov', require: nil

spec/spec_helper.rb

+4
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@
1111
require 'active_model'
1212

1313
require 'csv_importer'
14+
15+
RSpec.configure do |c|
16+
c.example_status_persistence_file_path = "./spec/examples.txt"
17+
end

0 commit comments

Comments
 (0)