Skip to content

Commit 98c9801

Browse files
authored
Merge pull request #72 from stitchfix/APPLA-360-tidying
Adjust RSpec configuration
2 parents f45db5f + caa396d commit 98c9801

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ lib/bundler/man
1111
pkg
1212
rdoc
1313
spec/reports
14+
spec/examples.txt
1415
test/tmp
1516
test/version_tmp
1617
tmp

spec/spec_helper.rb

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,13 @@
77
config.expect_with :rspec do |c|
88
c.syntax = [:expect]
99
end
10-
config.order = "random"
10+
11+
config.mock_with :rspec do |mocks|
12+
mocks.verify_partial_doubles = true
13+
end
14+
15+
config.order = :random
16+
Kernel.srand config.seed
17+
18+
config.example_status_persistence_file_path = "spec/examples.txt"
1119
end

0 commit comments

Comments
 (0)