Skip to content

Commit

Permalink
Fixing coveralls integration: using coveralls_reborn
Browse files Browse the repository at this point in the history
  • Loading branch information
g3ortega committed Sep 7, 2021
1 parent a60f8e1 commit 68a6010
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
.vim
*.swp
*.swo
.history

# rspec failure tracking
.rspec_status
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

group :test do
gem 'coveralls', '>= 0.7'
gem 'coveralls_reborn', '~> 0.22.0', require: false
gem 'rspec', '>= 3.10'
gem 'rubocop', '>= 0.79'
gem 'simplecov', '>= 0.18.2'
gem 'simplecov', '~> 0.18'
end

# Specify your gem's dependencies in price_calculator.gemspec
Expand Down
5 changes: 4 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
require 'simplecov'
require 'coveralls'

SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
SimpleCov.formatters = [
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start

require 'price_calculator'
Expand Down

0 comments on commit 68a6010

Please sign in to comment.