Sha256: f026e32ae1b79c409e0e6afb97c721eca493b85768befeb44276e97891cfebbb

Contents?: true

Size: 1.11 KB

Versions: 24

Compression:

Stored size: 1.11 KB

Contents

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'

  original_stderr = $stderr
  original_stdout = $stdout
  config.before(:all) do
    # Redirect stderr and stdout
    $stderr = File.new(File.join(File.dirname(__FILE__), 'spec_output.txt'), 'w')
    $stdout = File.new(File.join(File.dirname(__FILE__), 'spec_output.txt'), 'w')
  end
  config.after(:all) do
    $stderr = original_stderr
    $stdout = original_stdout
  end

end

require 'puppet-magnum'

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
puppet-magnum-4.1.1 spec/spec_helper.rb
puppet-magnum-4.0.4 spec/spec_helper.rb
puppet-magnum-4.0.3 spec/spec_helper.rb
puppet-magnum-4.0.2 spec/spec_helper.rb
puppet-magnum-4.0.1 spec/spec_helper.rb
puppet-magnum-4.0.0 spec/spec_helper.rb
puppet-magnum-3.1.5 spec/spec_helper.rb
puppet-magnum-3.1.3 spec/spec_helper.rb
puppet-magnum-3.1.2 spec/spec_helper.rb
puppet-magnum-3.1.1 spec/spec_helper.rb
puppet-magnum-3.1.0 spec/spec_helper.rb
puppet-magnum-3.0.12 spec/spec_helper.rb
puppet-magnum-3.0.11 spec/spec_helper.rb
puppet-magnum-3.0.10 spec/spec_helper.rb
puppet-magnum-3.0.9 spec/spec_helper.rb
puppet-magnum-3.0.8 spec/spec_helper.rb
puppet-magnum-3.0.7 spec/spec_helper.rb
puppet-magnum-3.0.6 spec/spec_helper.rb
puppet-magnum-3.0.5 spec/spec_helper.rb
puppet-magnum-3.0.4 spec/spec_helper.rb