Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Ignore bundler config.
/.bundle

/coverage
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,7 @@ group :development do
gem 'rubocop-rspec', '~> 1.44.1', require: false
end

gem 'simplecov', require: false, group: :test

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ GEM
devise (> 3.5.2, < 5)
rails (>= 4.2.0, < 6.2)
diff-lcs (1.5.0)
docile (1.4.0)
dotenv (2.7.6)
dotenv-rails (2.7.6)
dotenv (= 2.7.6)
Expand Down Expand Up @@ -237,6 +238,12 @@ GEM
ruby-progressbar (1.11.0)
shoulda-matchers (5.1.0)
activesupport (>= 5.2.0)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.3)
spring (4.0.0)
sprockets (4.0.2)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -285,6 +292,7 @@ DEPENDENCIES
rubocop-rails (~> 2.9.1)
rubocop-rspec (~> 1.44.1)
shoulda-matchers (~> 5.0)
simplecov
spring
tzinfo-data

Expand Down
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
# a separate helper file that requires the additional dependencies and performs
# the additional setup, and require it from the spec files that actually need
# it.
require 'simplecov'
SimpleCov.start

require 'pundit/rspec'
require 'devise'
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
Expand Down