# frozen_string_literal: true begin require "pry-byebug" rescue LoadError end <%- if rails? -%> ENV["RAILS_ENV"] = "test" require "combustion" require "<%= name %>" Combustion.initialize! <%- else -%> require "<%= name %>" <%- end -%> Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].sort.each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.example_status_persistence_file_path = "tmp/rspec_examples.txt" config.filter_run :focus config.run_all_when_everything_filtered = true config.order = :random Kernel.srand config.seed end