lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-3.0.0 vs lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-3.0.1
- old
+ new
@@ -23,10 +23,10 @@
RSpec.configure do |config|
config.color = true
config.disable_monkey_patching!
config.example_status_persistence_file_path = "./tmp/rspec-examples.txt"
config.filter_run_when_matching :focus
- config.formatter = ENV["CI"] == "true" ? :progress : :documentation
+ config.formatter = ENV.fetch("CI", false) == "true" ? :progress : :documentation
config.order = :random
config.shared_context_metadata_behavior = :apply_to_host_groups
config.warnings = true
config.expect_with :rspec do |expectations|