mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 02:04:57 +00:00
Add SimpleCov for coverage as per the latest the CodeClimate requirement
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -17,3 +17,5 @@
|
||||
/tmp
|
||||
|
||||
/config/database.yml
|
||||
|
||||
/coverage
|
||||
|
||||
6
Gemfile
6
Gemfile
@@ -43,7 +43,11 @@ group :development, :test do
|
||||
gem 'factory_girl_rails'
|
||||
gem 'shoulda-matchers'
|
||||
end
|
||||
gem "codeclimate-test-reporter", group: :test, require: nil
|
||||
|
||||
group :test do
|
||||
gem "simplecov"
|
||||
gem "codeclimate-test-reporter", "~> 1.0.0"
|
||||
end
|
||||
|
||||
group :development do
|
||||
# Access an IRB console on exception pages or by using <%= console %> in views
|
||||
|
||||
@@ -65,8 +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)
|
||||
codeclimate-test-reporter (1.0.3)
|
||||
simplecov
|
||||
coffee-rails (4.1.0)
|
||||
coffee-script (>= 2.2.0)
|
||||
railties (>= 4.0.0, < 5.0)
|
||||
@@ -250,7 +250,7 @@ PLATFORMS
|
||||
DEPENDENCIES
|
||||
activeadmin!
|
||||
byebug
|
||||
codeclimate-test-reporter
|
||||
codeclimate-test-reporter (~> 1.0.0)
|
||||
coffee-rails (~> 4.1.0)
|
||||
devise
|
||||
factory_girl_rails
|
||||
@@ -265,6 +265,7 @@ DEPENDENCIES
|
||||
sass-rails (~> 5.0)
|
||||
sdoc (~> 0.4.0)
|
||||
shoulda-matchers
|
||||
simplecov
|
||||
spring
|
||||
therubyracer
|
||||
turbolinks
|
||||
@@ -272,4 +273,4 @@ DEPENDENCIES
|
||||
web-console (~> 2.0)
|
||||
|
||||
BUNDLED WITH
|
||||
1.10.6
|
||||
1.13.7
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
#
|
||||
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
||||
require "codeclimate-test-reporter"
|
||||
CodeClimate::TestReporter.start
|
||||
require "simplecov"
|
||||
|
||||
SimpleCov.start
|
||||
|
||||
RSpec.configure do |config|
|
||||
# rspec-expectations config goes here. You can use an alternate
|
||||
|
||||
Reference in New Issue
Block a user