spec/spec_helper.rb in spacex-0.0.7 vs spec/spec_helper.rb in spacex-1.0.0
- old
+ new
@@ -1,8 +1,17 @@
# frozen_string_literal: true
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..'))
+if ENV['CI']
+ require 'coveralls'
+ Coveralls.wear!
+else
+ require 'pry'
+ require 'simplecov'
+ SimpleCov.start
+end
+
require 'rubygems'
require 'rspec'
require 'spacex'
Dir[File.join(File.dirname(__FILE__), 'support', '**/*.rb')].each do |file|