Debian Codegraph @

spec/spec_helper.rb

raw symbols SCIP
1 # frozen_string_literal: true
2
3 ENV["RAILS_ENV"] ||= "test"
4
5 require_relative "app/config/environment"
6 require "autoprefixer-rails"
7
8 require "rspec/rails"
9
10 warn "ExecJS runtime is #{ExecJS.runtime.class}"
11
12 RSpec.configure do |c|
13 c.filter_run_excluding not_jruby: RUBY_PLATFORM == "java"
14 c.example_status_persistence_file_path = ".rspec_status"
15 end
16
17 def sprockets_4?
18 Gem::Version.new(Sprockets::VERSION) > Gem::Version.new("4.0.x")
19 end