Sha256: 5f263f0cd6724c2300c5603f162fb72b44b6b8b788ca2648164316b27b7cabab

Contents?: true

Size: 893 Bytes

Versions: 5

Compression:

Stored size: 893 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'
ENV['RAILS_ROOT'] ||= "#{File.dirname(__FILE__)}../../../spec/dummy"

RSpec.configure do |config|
  config.include FileManager
  config.include RakeUtils
  config.include SpecAddons
end

# rubocop:disable Style/MixinUsage
include FileManager
# rubocop:enable Style/MixinUsage

add_config!
Rails.application.load_tasks

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lokalise_rails-2.0.0 spec/spec_helper.rb
lokalise_rails-2.0.0.rc1 spec/spec_helper.rb
lokalise_rails-1.4.0 spec/spec_helper.rb
lokalise_rails-1.3.1 spec/spec_helper.rb
lokalise_rails-1.3.0 spec/spec_helper.rb