Enable persistance file for rspec

This commit is contained in:
cmrd Senya 2015-12-14 10:19:49 +03:00
parent d854f61d64
commit 6615e67d80
2 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View file

@ -26,3 +26,5 @@ test/dummy/log/*.log*
test/dummy/tmp/ test/dummy/tmp/
test/dummy/.sass-cache test/dummy/.sass-cache
test/dummy/test/fixtures/*.y*ml test/dummy/test/fixtures/*.y*ml
rspec-persistance.txt

View file

@ -46,6 +46,8 @@ support_files.each {|f| require f }
require fixture_builder_file require fixture_builder_file
RSpec.configure do |config| RSpec.configure do |config|
config.example_status_persistence_file_path = "spec/rspec-persistance.txt"
config.infer_spec_type_from_file_location! config.infer_spec_type_from_file_location!
config.render_views config.render_views