spec/spec_helper.rb in openstudio-analysis-0.1.3 vs spec/spec_helper.rb in openstudio-analysis-0.1.4
- old
+ new
@@ -2,7 +2,17 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require 'rspec'
require 'openstudio-analysis'
+RSpec.configure do |config|
+ # Use color in STDOUT
+ config.color_enabled = true
+
+ # Use color not only in STDOUT but also in pagers and files
+ config.tty = true
+
+ # Use the specified formatter
+ config.formatter = :documentation # :progress, :html, :textmate
+end