Sha256: 1757f97b395a8cee18801b6a1187c524f439156e3414d11ff520503d28bbb522

Contents?: true

Size: 533 Bytes

Versions: 2

Compression:

Stored size: 533 Bytes

Contents

require File.expand_path(
    File.join(File.dirname(__FILE__), %w[.. lib jsdoc_helper]))

Spec::Runner.configure do |config|
  # == Mock Framework
  #
  # RSpec uses it's own mocking framework by default. If you prefer to
  # use mocha, flexmock or RR, uncomment the appropriate line:
  #
  # config.mock_with :mocha
  # config.mock_with :flexmock
  # config.mock_with :rr
end

def quietly
  orig_stdout = $stdout
  $stdout = File.open('/dev/null', 'w')
  output = yield
  $stdout.close
  $stdout = orig_stdout
  output
end

# EOF

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
quentonc-jsdoc_helper-0.0.2 spec/spec_helper.rb
ragaskar-jsdoc_helper-0.0.2.1 spec/spec_helper.rb