CodeClimate report for test coverage

This commit is contained in:
leenasn
2015-11-04 18:02:00 +05:30
parent 62a2f6e849
commit b967c3d608
3 changed files with 16 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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