spec/spec_helper.rb in dionysus-2.1.0 vs spec/spec_helper.rb in dionysus-2.2.0.0.pre1

- old
+ new

@@ -1,19 +1,20 @@ require 'rubygems' -require 'simplecov' -SimpleCov.start do - add_filter "/lib/dionysus/version.rb" - add_filter "/spec/" + +if RUBY_VERSION =~ /^1\.9\./ + require 'simplecov' + SimpleCov.start do + add_filter "/lib/dionysus/version.rb" + add_filter "/spec/" + end end require 'bundler' -require 'simplecov' -SimpleCov.start - Bundler.require :default, :test Dir[File.expand_path("../support/**/*.rb", __FILE__)].each {|f| require f} RSpec.configure do |config| config.mock_with :mocha + config.order = "random" end