Files
bit/test/test_helper.rb
T
Juan Rodriguez 38d0aff7f8 build: 🔧 default url_options host added
simplecov added, docker-compose updated, test_helper updated
2021-06-13 12:27:23 -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