spec/spec_helper.rb in ninja-model-0.6.2 vs spec/spec_helper.rb in ninja-model-0.7.0
- old
+ new
@@ -1,7 +1,11 @@
-require 'bundler/setup'
-Bundler.require(:default)
+require 'simplecov'
+SimpleCov.start do
+ add_filter 'spec'
+end
+#Bundler.require(:default)
require 'rspec/core'
+require 'ninja-model'
Dir[File.join(File.expand_path('../', __FILE__), 'support/**/*.rb')].each { |f| require f }
RSpec.configure do |config|
config.mock_with :mocha