Sha256: 9db582ee32d2adfd3ad1bd25952d00f8380fd83fab72a747b1f5da54f632e469

Contents?: true

Size: 514 Bytes

Versions: 5

Compression:

Stored size: 514 Bytes

Contents

PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
ENV['TEST'] = 'true'

require 'middleman'
require 'middleman-core/step_definitions'
require File.join(PROJECT_ROOT_PATH, 'lib', 'middlemac-extras')


require 'cucumber/formatter/pretty'
class QuietFormatter < Cucumber::Formatter::Pretty
  def initialize(runtime, io, options)
     $stderr = File.new( '/dev/null', 'w' )
    super(runtime, io, options)
  end
  
  def after_features(features)
    $stderr = STDOUT
    super(features)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
middlemac-extras-1.0.11 features/support/env.rb
middlemac-extras-1.0.10 features/support/env.rb
middlemac-extras-1.0.9 features/support/env.rb
middlemac-extras-1.0.8 features/support/env.rb
middlemac-extras-1.0.7 features/support/env.rb