Sha256: 2b41564ae9e92517de843659efbca8604d3407e2279f1298fd089f726ead1873
Contents?: true
Size: 879 Bytes
Versions: 6
Compression:
Stored size: 879 Bytes
Contents
# frozen_string_literal: true require 'dotenv/load' require 'simplecov' SimpleCov.start 'rails' do add_filter 'spec/' add_filter '.github/' add_filter 'lib/generators/templates/' add_filter 'lib/lokalise_rails/version' end if ENV['CI'] == 'true' require 'codecov' SimpleCov.formatter = SimpleCov::Formatter::Codecov end # Support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].sort.each { |f| require f } # Configure Rails Environment ENV['RAILS_ENV'] = 'test' require_relative '../spec/dummy/config/environment' ActiveRecord::Migrator.migrations_paths = [File.expand_path('../spec/dummy/db/migrate', __dir__)] ENV['RAILS_ROOT'] ||= "#{File.dirname(__FILE__)}../../../spec/dummy" require 'rspec/rails' RSpec.configure do |config| config.include FileUtils config.include RakeUtils end Rails.application.load_tasks
Version data entries
6 entries across 6 versions & 1 rubygems