mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
remove simplecov since we now have coverage reporting on Code Climate
This commit is contained in:
parent
067db90d58
commit
07a3962d7d
3 changed files with 7 additions and 5 deletions
1
Gemfile
1
Gemfile
|
|
@ -57,7 +57,6 @@ group :test do
|
||||||
gem "mocha", :require => false
|
gem "mocha", :require => false
|
||||||
|
|
||||||
gem "aruba", git: 'https://github.com/cucumber/aruba', :require => false # need 0.5.4 for piping files; 0.5.3 is latest
|
gem "aruba", git: 'https://github.com/cucumber/aruba', :require => false # need 0.5.4 for piping files; 0.5.3 is latest
|
||||||
gem "simplecov"
|
|
||||||
gem "timecop", "~> 0.6.2"
|
gem "timecop", "~> 0.6.2"
|
||||||
|
|
||||||
# Note that > 2.14 has problems, see:
|
# Note that > 2.14 has problems, see:
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,10 @@
|
||||||
# newer version of cucumber-rails. Consider adding your own code to a new file
|
# newer version of cucumber-rails. Consider adding your own code to a new file
|
||||||
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
|
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
|
||||||
# files.
|
# files.
|
||||||
require 'simplecov'
|
|
||||||
SimpleCov.start 'rails'
|
# test coverage from codeclimate
|
||||||
|
require "codeclimate-test-reporter"
|
||||||
|
CodeClimate::TestReporter.start
|
||||||
|
|
||||||
require 'cucumber/rails'
|
require 'cucumber/rails'
|
||||||
require 'aruba/cucumber'
|
require 'aruba/cucumber'
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
require 'simplecov'
|
# test coverage from codeclimate
|
||||||
SimpleCov.start 'rails'
|
require "codeclimate-test-reporter"
|
||||||
|
CodeClimate::TestReporter.start
|
||||||
|
|
||||||
ENV["RAILS_ENV"] = "test"
|
ENV["RAILS_ENV"] = "test"
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue