Files
bit/test/test_helper.rb
T
Juan Rodriguez 7e81f47473 build: 🔧 Stimulus setup
webpack service added to docker-compose, rails webpacker config, application js and css tags updated

rails webpacker support
2021-06-13 16:28:45 -05:00

25 lines
549 B
Ruby

# frozen_string_literal: true
ENV['RAILS_ENV'] ||= 'test'
require_relative '../config/environment'
require 'rails/test_help'
if ENV['RAILS_ENV'] == 'test'
require 'simplecov'
SimpleCov.start 'rails' do
add_filter '/app/channels'
add_filter '/app/mailers'
add_filter '/app/jobs'
end
puts 'required simplecov'
end
module ActiveSupport
class TestCase
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all
# Add more helper methods to be used by all tests here...
end
end