mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-16 20:22:18 +00:00
Store rspec statuses in .cache/rspec (#12427)
This allows using rspec with `--only-failures`
This commit is contained in:
parent
e8de558ee7
commit
cb3e9a2934
0
.cache/.gitkeep
Normal file
0
.cache/.gitkeep
Normal file
|
@ -12,6 +12,7 @@ end
|
||||||
gc_counter = -1
|
gc_counter = -1
|
||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
|
config.example_status_persistence_file_path = ".cache/rspec"
|
||||||
config.expect_with :rspec do |expectations|
|
config.expect_with :rspec do |expectations|
|
||||||
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue