Sha256: 5a9c372be1bfeb60b37f709f3ed3066cd0da2f205da9d5c11449e3d5c604cf25

Contents?: true

Size: 431 Bytes

Versions: 4

Compression:

Stored size: 431 Bytes

Contents

ENV["RAILS_ENV"] = "test"
require 'net/smtp'
require "mocha"
require 'micronaut'
require File.join(File.dirname(__FILE__), *%w[.. lib cap_gun])

def silence_warnings
  old_verbose, $VERBOSE = $VERBOSE, nil
  yield
ensure
  $VERBOSE = old_verbose
end

Micronaut.configure do |config|
  config.mock_with :mocha
  config.formatter = :documentation
  config.color_enabled = true
  config.filter_run :options => { :focused => true }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cap_gun-0.2.4 examples/example_helper.rb
cap_gun-0.2.2 examples/example_helper.rb
cap_gun-0.2.1 examples/example_helper.rb
cap_gun-0.2.0 examples/example_helper.rb