1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Start of Code Climate coverage

This commit is contained in:
Mauro George 2015-01-20 17:52:27 -02:00
parent 7ea8fcceef
commit cc1d9d80d2
3 changed files with 7 additions and 0 deletions

View file

@ -12,3 +12,7 @@ gemfile:
- gemfiles/rails_4.2.gemfile - gemfiles/rails_4.2.gemfile
- gemfiles/mongoid_3.1.gemfile - gemfiles/mongoid_3.1.gemfile
- gemfiles/nobrainer.gemfile - gemfiles/nobrainer.gemfile
addons:
code_climate:
repo_token: 177e04fc590139a13502e44a2628979c4e8b94acdb10c78af7c6f913ef7950bd

View file

@ -28,4 +28,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "fakefs", ">= 0.2.1" s.add_development_dependency "fakefs", ">= 0.2.1"
s.add_development_dependency 'sqlite3' s.add_development_dependency 'sqlite3'
s.add_development_dependency 'nokogiri', '>= 1.6.5' s.add_development_dependency 'nokogiri', '>= 1.6.5'
s.add_development_dependency 'codeclimate-test-reporter'
end end

View file

@ -14,6 +14,8 @@
# $ gem install bundler -v=1.0.2 # $ gem install bundler -v=1.0.2
# $ gem install rspec -v=2.6.0 # $ gem install rspec -v=2.6.0
# #
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))