Skip to content

Commit

Permalink
Merge c5de7c1 into 98d1b49
Browse files Browse the repository at this point in the history
  • Loading branch information
kirushik committed Mar 25, 2015
2 parents 98d1b49 + c5de7c1 commit 9d2ef59
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,15 @@ group :test do
# for cleaning the test DB
gem 'database_cleaner'
# for measuring test coverage
gem 'coveralls', :require => false
gem 'coveralls', require: false
# as style hound
gem 'rubocop'
# as interactive debugger in error pages
gem 'web-console', '~> 2.0'

# Time travel in tests
gem 'timecop'

# Used in Travis-CI reporting
gem "codeclimate-test-reporter", require: false
end
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ GEM
activesupport (>= 3.0)
cocaine (0.5.7)
climate_control (>= 0.0.3, < 1.0)
codeclimate-test-reporter (0.4.7)
simplecov (>= 0.7.1, < 1.0.0)
coderay (1.1.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
Expand Down Expand Up @@ -306,6 +308,7 @@ DEPENDENCIES
bootstrap-sass
cancancan
capybara
codeclimate-test-reporter
coffee-rails (~> 4.1.0)
coveralls
database_cleaner
Expand Down
5 changes: 5 additions & 0 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
SimpleCov.start 'rails'
end

if ENV['CODECLIMATE_REPO_TOKEN']
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
end

ENV['RAILS_ENV'] ||= 'test'
require 'spec_helper'
require File.expand_path('../../config/environment', __FILE__)
Expand Down

0 comments on commit 9d2ef59

Please sign in to comment.