Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Commit

Permalink
Merge pull request #457 from YaleSTC/mq-test-coverage
Browse files Browse the repository at this point in the history
Add Code Climate test coverage
  • Loading branch information
mnquintana committed Feb 28, 2015
2 parents 1b04159 + ce8ab57 commit 7d8a699
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ env:
- RAILS_ENV=test
- TZ=America/New_York # Set the system Time Zone to be EST
- DISPLAY=:99.0 # Display port
-
# Code Climate Test Coverage Integration
secure: FW8A6JKXmOcOBIYIJ9OKui+Zh4S2o/o1rHYdIEEddiA/eGX8YK5jC80zS9aNQF35bQgSwl8BMND3ot0cD2uIkPN7EokTCiM+BSAmS/ef7v8j36f0CzxOJj/N99BfXukxS0ohi6qMCu/TchXS2vc2gZFIsyq3k7c1ui0IiMgkRLk=

# Dependencies
before_install:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ group :test do
gem 'capybara-screenshot'
gem 'selenium-webdriver'
gem 'database_cleaner'
gem 'codeclimate-test-reporter', require: false
end

group :assets do
Expand Down
5 changes: 3 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start

ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)

Expand Down Expand Up @@ -30,5 +33,3 @@
Capybara.javascript_driver = :webkit # WebKit is a lot faster than selenium
Capybara.default_wait_time = 15 # TravisCI may be slow
end


0 comments on commit 7d8a699

Please sign in to comment.