# frozen_string_literal: true ENV["RAILS_ENV"] ||= "test" require_relative "app/config/environment" require "autoprefixer-rails" require "rspec/rails" warn "ExecJS runtime is #{ExecJS.runtime.class}" RSpec.configure do |c| c.filter_run_excluding not_jruby: RUBY_PLATFORM == "java" c.example_status_persistence_file_path = ".rspec_status" end def sprockets_4? Gem::Version.new(Sprockets::VERSION) > Gem::Version.new("4.0.x") end