Sha256: ff513cdb1140dd923f498351875f13d9d81d1ef695583b1366c4af616dbf8874

Contents?: true

Size: 740 Bytes

Versions: 39

Compression:

Stored size: 740 Bytes

Contents

ENV['NODE_PATH'] = File.join(File.expand_path('..', __dir__), 'node_modules')
ENV['RACK_ENV'] = 'test'
require_relative '../app_loader'
require 'rspec'
require 'rspec/expectations'
require 'isomorfeus-puppetmaster'
require_relative '../app/server/<%= roda_app_path %>'

Isomorfeus.zeitwerk.setup
Isomorfeus.zeitwerk.eager_load
Isomorfeus.init_store

Isomorfeus::Puppetmaster.download_path = File.join(Dir.pwd, 'download_path_tmp')
Isomorfeus::Puppetmaster.app = <%= roda_app_class %>
Isomorfeus::Puppetmaster.boot_app

RSpec.configure do |config|
  config.include Isomorfeus::Puppetmaster::DSL

  # useful for debugging
  # config.before :all do
  #   set_launch_options(headless: false, devtools: true)
  # end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
isomorfeus-23.9.0.rc12 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc11 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc10 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc9 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc8 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc7 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc6 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc5 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc4 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc3 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc2 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.9.0.rc1 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.8.0.rc3 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.8.0.rc2 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.8.0.rc1 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.7.0.rc5 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.7.0.rc4 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.7.0.rc3 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.7.0.rc2 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-23.7.0.rc1 lib/isomorfeus/installer/templates/spec_helper.rb.erb