spec/spec_helper.rb in payanyway-1.2.1 vs spec/spec_helper.rb in payanyway-1.2.2
- old
+ new
@@ -11,10 +11,10 @@
require 'payanyway'
require 'rspec/rails'
require 'pry'
require 'codeclimate-test-reporter'
-CodeClimate::TestReporter.start
+CodeClimate::TestReporter.start if ENV['CODECLIMATE_REPO_TOKEN']
RSpec.configure do |config|
config.infer_spec_type_from_file_location!
end
\ No newline at end of file