Sha256: 734656fbef03788a058638cd167e41ec75829ee2a81750e2b84b82c46d1ff759
Contents?: true
Size: 859 Bytes
Versions: 4
Compression:
Stored size: 859 Bytes
Contents
ENV["HISTORIOGRAPHY_ENV"] = "test" require_relative "../init.rb" require "ostruct" RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.filter_run :focus config.run_all_when_everything_filtered = true config.example_status_persistence_file_path = "spec/examples.txt" if config.files_to_run.one? config.default_formatter = 'doc' end config.profile_examples = 10 config.order = :random Kernel.srand config.seed config.before(:suite) do DatabaseCleaner.strategy = :transaction DatabaseCleaner.clean_with(:truncation) end config.around(:each) do |example| DatabaseCleaner.cleaning do example.run end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
historiographer-1.2.0 | spec/spec_helper.rb |
historiographer-1.1.0 | spec/spec_helper.rb |
historiographer-1.0.2 | spec/spec_helper.rb |
historiographer-1.0.0 | spec/spec_helper.rb |