Sha256: a7f40c699189e4e348442d5ecc4af46b8d190a95464b17787740dcde2f7b0175

Contents?: true

Size: 650 Bytes

Versions: 5

Compression:

Stored size: 650 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require 'wisper'

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.order = 'random'
  config.after(:each) { Wisper::GlobalListeners.clear }

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.mock_with :rspec do |c|
    c.syntax = :expect
  end
end

# returns an anonymous wispered class
def publisher_class
  Class.new { include Wisper::Publisher }
end

# prevents deprecation warning showing up in spec output
def silence_warnings
  original_verbosity = $VERBOSE
  $VERBOSE = nil
  yield
  $VERBOSE = original_verbosity
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wisper-1.6.1 spec/spec_helper.rb
wisper-2.0.0.rc1 spec/spec_helper.rb
wisper-1.6.0 spec/spec_helper.rb
wisper-1.5.0 spec/spec_helper.rb
wisper-1.4.0 spec/spec_helper.rb