spec/spec_helper.rb in vinquery-0.1.0 vs spec/spec_helper.rb in vinquery-0.2.0
- old
+ new
@@ -1,14 +1,18 @@
+$:.unshift(File.dirname(__FILE__) + '/../lib')
require "rubygems"
+if ENV["COVERAGE"]
+ require 'simplecov'
+ SimpleCov.start 'rails'
+end
require "bundler"
Bundler.setup
require 'rspec'
require 'webmock/rspec'
-$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'vinquery'
RSpec.configure do |config|
end
\ No newline at end of file