Sha256: 8807eabce6425429afc5b43d7a80c02dc6e24b8fbbc421c6a0e38d80b59be3df

Contents?: true

Size: 515 Bytes

Versions: 3

Compression:

Stored size: 515 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', 'middleman-targets')


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

3 entries across 3 versions & 1 rubygems

Version Path
middleman-targets-1.0.8 features/support/env.rb
middleman-targets-1.0.7 features/support/env.rb
middleman-targets-1.0.6 features/support/env.rb