spec/spec_helper.rb in nilify_blanks-1.3.0 vs spec/spec_helper.rb in nilify_blanks-1.4.0
- old
+ new
@@ -11,5 +11,30 @@
# Load Test Schema into the Database
load(File.dirname(__FILE__) + "/db/schema.rb")
require File.dirname(__FILE__) + '/../init'
+
+RSpec.configure do |config|
+ config.define_derived_metadata do |meta|
+ meta[:aggregate_failures] = true unless meta.key?(:aggregate_failures)
+ end
+
+ config.disable_monkey_patching!
+
+ 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.shared_context_metadata_behavior = :apply_to_host_groups
+ config.filter_run_when_matching :focus
+ config.example_status_persistence_file_path = "spec/examples.txt"
+
+ # config.order = :random
+ # Kernel.srand config.seed
+
+ # config.warnings = true
+end