|
|
@ -15,6 +15,18 @@ |
|
|
|
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration |
|
|
|
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration |
|
|
|
|
|
|
|
|
|
|
|
require "factory_bot" |
|
|
|
require "factory_bot" |
|
|
|
|
|
|
|
require "simplecov" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SimpleCov.start "rails" do |
|
|
|
|
|
|
|
add_filter "/bin/" |
|
|
|
|
|
|
|
add_filter "/db/" |
|
|
|
|
|
|
|
add_filter "/spec/" |
|
|
|
|
|
|
|
add_filter "app/channels/application_cable/channel.rb" |
|
|
|
|
|
|
|
add_filter "app/jobs/application_job.rb" |
|
|
|
|
|
|
|
add_filter "app/mailers/application_mailer.rb" |
|
|
|
|
|
|
|
add_filter "app/controllers/application_controller.rb" |
|
|
|
|
|
|
|
add_filter "app/channels/application_cable/connection.rb" |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
RSpec.configure do |config| |
|
|
|
RSpec.configure do |config| |
|
|
|
# rspec-expectations config goes here. You can use an alternate |
|
|
|
# rspec-expectations config goes here. You can use an alternate |
|
|
|