diff --git a/Gemfile b/Gemfile index d744192..0f7ab8b 100644 --- a/Gemfile +++ b/Gemfile @@ -40,6 +40,7 @@ group :development, :test do gem 'factory_girl_rails' gem 'shoulda-matchers' end +gem "codeclimate-test-reporter", group: :test, require: nil group :development do # Access an IRB console on exception pages or by using <%= console %> in views diff --git a/Gemfile.lock b/Gemfile.lock index c3725fc..467e443 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -65,6 +65,8 @@ GEM thor (~> 0.19) builder (3.2.2) byebug (6.0.2) + codeclimate-test-reporter (0.4.8) + simplecov (>= 0.7.1, < 1.0.0) coffee-rails (4.1.0) coffee-script (>= 2.2.0) railties (>= 4.0.0, < 5.0) @@ -81,6 +83,7 @@ GEM thread_safe (~> 0.1) warden (~> 1.2.3) diff-lcs (1.2.5) + docile (1.1.5) erubis (2.7.0) execjs (2.6.0) factory_girl (4.5.0) @@ -196,6 +199,11 @@ GEM rdoc (~> 4.0) shoulda-matchers (2.8.0) activesupport (>= 3.0.0) + simplecov (0.10.0) + docile (~> 1.1.0) + json (~> 1.8) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) spring (1.4.0) sprockets (3.4.0) rack (> 1, < 3) @@ -227,6 +235,7 @@ PLATFORMS DEPENDENCIES activeadmin! byebug + codeclimate-test-reporter coffee-rails (~> 4.1.0) devise factory_girl_rails @@ -242,3 +251,6 @@ DEPENDENCIES turbolinks uglifier (>= 1.3.0) web-console (~> 2.0) + +BUNDLED WITH + 1.10.6 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 913e28a..a1943db 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -16,6 +16,9 @@ # users commonly want. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration +require "codeclimate-test-reporter" +CodeClimate::TestReporter.start + RSpec.configure do |config| # rspec-expectations config goes here. You can use an alternate # assertion/expectation library such as wrong or the stdlib/minitest