Skip to content

Commit

Permalink
Test coverage added
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Oleynik committed Sep 28, 2016
1 parent ccefce9 commit 596232c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ rvm:
- 2.3.1
services:
- postgresql
addons:
code_climate:
repo_token: 7deb964f60d5e69c5fe4717063c6df0d8e07c12eeb4cd2ba120be5c70bc8926e
10 changes: 10 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ GEM
capybara-screenshot (1.0.14)
capybara (>= 1.0, < 3)
launchy
codeclimate-test-reporter (0.6.0)
simplecov (>= 0.7.1, < 1.0.0)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
coffee-rails (4.2.1)
Expand Down Expand Up @@ -119,6 +121,7 @@ GEM
responders
warden (~> 1.2.3)
diff-lcs (1.2.5)
docile (1.1.5)
drape (1.0.0.beta1)
actionpack (>= 5.0.0.beta1)
activemodel (>= 5.0.0.beta1)
Expand All @@ -145,6 +148,7 @@ GEM
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (2.0.2)
launchy (2.4.3)
addressable (~> 2.3)
loofah (2.0.3)
Expand Down Expand Up @@ -227,6 +231,11 @@ GEM
simple_form (3.3.1)
actionpack (> 4, < 5.1)
activemodel (> 4, < 5.1)
simplecov (0.12.0)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
sort_alphabetical (1.0.2)
unicode_utils (>= 1.2.2)
sprockets (3.7.0)
Expand Down Expand Up @@ -264,6 +273,7 @@ PLATFORMS
DEPENDENCIES
capybara (~> 2.9, >= 2.9.1)
capybara-screenshot (~> 1.0, >= 1.0.14)
codeclimate-test-reporter
factory_girl_rails (~> 4.7)
rspec-rails (~> 3.5, >= 3.5.2)
shopping-cart!
Expand Down
1 change: 1 addition & 0 deletions shopping_cart.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'capybara-screenshot', '~> 1.0', '>= 1.0.14'
s.add_development_dependency 'factory_girl_rails', '~> 4.7'
s.add_development_dependency 'shoulda-matchers', '~> 3.1', '>= 3.1.1'
s.add_development_dependency 'codeclimate-test-reporter'
end
2 changes: 2 additions & 0 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

Expand Down

0 comments on commit 596232c

Please sign in to comment.