Sha256: 4b16998ead4771977903d305cc424ccb38c275c1ce2b3337146db304de21195b

Contents?: true

Size: 518 Bytes

Versions: 4

Compression:

Stored size: 518 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-pagegroups')


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

4 entries across 4 versions & 1 rubygems

Version Path
middleman-pagegroups-1.0.6 features/support/env.rb
middleman-pagegroups-1.0.5 features/support/env.rb
middleman-pagegroups-1.0.4 features/support/env.rb
middleman-pagegroups-1.0.3 features/support/env.rb