spec/spec_helper.rb in abak-flow-1.0.3 vs spec/spec_helper.rb in abak-flow-1.0.4
- old
+ new
@@ -1,17 +1,16 @@
# coding: utf-8
-if ENV["COVERAGE"]
+if ENV["C"]
require "simplecov"
- SimpleCov.minimum_coverage 95
- SimpleCov.start :test_frameworks do
+ SimpleCov.start do
add_filter "/spec/"
end
end
require "abak-flow"
-Dir["spec/support/**/*.rb"].sort.each { |f| require f }
-
RSpec.configure do |config|
- # ...
+ config.formatter = :progress
+ config.order = :random
+ config.color = true
end
\ No newline at end of file