diff --git a/Gemfile b/Gemfile index 519849c..24428b7 100644 --- a/Gemfile +++ b/Gemfile @@ -14,6 +14,10 @@ group :development do gem "rubocop", "0.32.0" end +group :test do + gem "codeclimate-test-reporter", require: false +end + group :development, :test do gem "rspec-rails", "3.2.3" gem "rspec-instafail", "0.2.6", require: false diff --git a/Gemfile.lock b/Gemfile.lock index a1d94cf..03918c1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -47,7 +47,10 @@ GEM astrolabe (1.3.0) parser (>= 2.2.0.pre.3, < 3.0) builder (3.2.2) + codeclimate-test-reporter (0.4.7) + simplecov (>= 0.7.1, < 1.0.0) diff-lcs (1.2.5) + docile (1.1.5) erubis (2.7.0) fuubar (2.0.0) rspec (~> 3.0) @@ -129,6 +132,11 @@ GEM rainbow (>= 1.99.1, < 3.0) ruby-progressbar (~> 1.4) ruby-progressbar (1.7.5) + simplecov (0.10.0) + docile (~> 1.1.0) + json (~> 1.8) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) sprockets (3.2.0) rack (~> 1.0) sprockets-rails (2.3.1) @@ -145,6 +153,7 @@ PLATFORMS ruby DEPENDENCIES + codeclimate-test-reporter diaspora_federation! fuubar (= 2.0.0) nyan-cat-formatter diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3cb65f8..0d3c66e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,6 +3,9 @@ require File.join(File.dirname(__FILE__), "..", "test", "dummy", "config", "envi require "rspec/rails" +require "codeclimate-test-reporter" +CodeClimate::TestReporter.start + RSpec.configure do |config| config.infer_spec_type_from_file_location!