Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
mooreryan committed Feb 26, 2018
1 parent 6c26568 commit bc657db
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 7 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -58,6 +58,7 @@ group :development, :test do
gem 'simplecov', require: false
gem 'simplecov-cobertura'

gem 'coveralls', require: false
end

group :development do
Expand Down
22 changes: 22 additions & 0 deletions Gemfile.lock
Expand Up @@ -68,6 +68,12 @@ GEM
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
coveralls (0.7.1)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
crass (1.0.3)
delayed_job (4.1.4)
activesupport (>= 3.0, < 5.2)
Expand All @@ -76,6 +82,8 @@ GEM
delayed_job (>= 3.0, < 5)
diff-lcs (1.3)
docile (1.1.5)
domain_name (0.5.20170404)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.2.1)
dotenv-rails (2.2.1)
dotenv (= 2.2.1)
Expand Down Expand Up @@ -107,6 +115,8 @@ GEM
guard-teaspoon (0.8.0)
guard (~> 2.2)
teaspoon (>= 0.8.0)
http-cookie (1.0.3)
domain_name (~> 0.5)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jbuilder (2.7.0)
Expand Down Expand Up @@ -139,6 +149,7 @@ GEM
minitest (5.11.3)
multi_json (1.13.1)
nenv (0.3.0)
netrc (0.11.0)
nio4r (2.2.0)
nokogiri (1.8.2)
mini_portile2 (~> 2.3.0)
Expand Down Expand Up @@ -191,6 +202,10 @@ GEM
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rb-readline (0.5.5)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
Expand Down Expand Up @@ -256,13 +271,19 @@ GEM
teaspoon-mocha (2.3.3)
teaspoon (>= 1.0.0)
temple (0.8.0)
term-ansicolor (1.6.0)
tins (~> 1.0)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
tins (1.16.3)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (4.1.6)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
web-console (3.5.1)
actionview (>= 5.0)
activemodel (>= 5.0)
Expand All @@ -284,6 +305,7 @@ DEPENDENCIES
byebug
capybara (= 2.7.1)
coffee-rails (~> 4.2)
coveralls
delayed_job_active_record
dotenv-rails
foundation-rails (= 6.2.3)
Expand Down
14 changes: 7 additions & 7 deletions Guardfile
Expand Up @@ -83,10 +83,10 @@ require "guard/rspec/dsl"
end
end

# guard :teaspoon, cmd: "teaspoon --coverage=default" do
# # Implementation files
# watch(%r{^app/assets/javascripts/(.+).js}) { |m| "#{m[1]}_spec" }
#
# # Specs / Helpers
# watch(%r{^spec/javascripts/(.*)})
# end
guard :teaspoon, cmd: "teaspoon --coverage=default" do
# Implementation files
watch(%r{^app/assets/javascripts/(.+).js}) { |m| "#{m[1]}_spec" }

# Specs / Helpers
watch(%r{^spec/javascripts/(.*)})
end
2 changes: 2 additions & 0 deletions spec/rails_helper.rb
Expand Up @@ -15,6 +15,8 @@ def zeus_running?
end
end

require 'coveralls'
Coveralls.wear!

# This file is copied to spec/ when you run 'rails generate rspec:install'
# Force test environment for Zeus
Expand Down

0 comments on commit bc657db

Please sign in to comment.