зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-28 15:36:17 +03:00
test: Setup coverage
Этот коммит содержится в:
1
.gitignore
поставляемый
1
.gitignore
поставляемый
@@ -6,6 +6,7 @@
|
||||
/Gemfile.lock
|
||||
|
||||
/_misc/
|
||||
/coverage/
|
||||
/spec/dummy/db/*.sqlite3*
|
||||
/spec/dummy/log/
|
||||
/spec/dummy/storage/
|
||||
|
||||
1
Gemfile
1
Gemfile
@@ -34,6 +34,7 @@ gem 'cuprite'
|
||||
gem 'rspec_junit_formatter'
|
||||
gem 'rspec-rails'
|
||||
gem 'rspec-retry'
|
||||
gem 'simplecov', require: false
|
||||
|
||||
# Linters
|
||||
gem 'fasterer'
|
||||
|
||||
@@ -4,6 +4,9 @@ require_relative 'spec_helper'
|
||||
|
||||
ENV['RAILS_ENV'] = 'test'
|
||||
|
||||
require 'simplecov'
|
||||
SimpleCov.start 'rails'
|
||||
|
||||
require File.expand_path('dummy/config/environment.rb', __dir__)
|
||||
|
||||
abort('The Rails environment is running in production mode!') if Rails.env.production?
|
||||
|
||||
Ссылка в новой задаче
Block a user