Sha256: f541753f48bc1abe065804cbb6962f086cb7df2a14af4ea1ec449666e391404c

Contents?: true

Size: 704 Bytes

Versions: 19

Compression:

Stored size: 704 Bytes

Contents

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

Isomorfeus.zeitwerk.setup
Isomorfeus.zeitwerk.eager_load

ASSETS_COMPILED ||= system('yarn run production_build')

Isomorfeus::Puppetmaster.download_path = File.join(Dir.pwd, 'download_path_tmp')
Isomorfeus::Puppetmaster.driver = :chromium
Isomorfeus::Puppetmaster.server = :<%= rack_server %>
Isomorfeus::Puppetmaster.app = <%= app_class %>
Isomorfeus::Puppetmaster.boot_app

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
isomorfeus-1.0.0.zeta25 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta24 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta23 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta22 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta21 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta20 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta19 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta18 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta17 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta16 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta15 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta14 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta13 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta12 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta11 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta10 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta9 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta8 lib/isomorfeus/installer/templates/spec_helper.rb.erb
isomorfeus-1.0.0.zeta6 lib/isomorfeus/installer/templates/spec_helper.rb.erb