Sha256: 58e242ee341b16e9af679130415b7ceee54dd6388eab176e49e0578eaf4d8ed8

Contents?: true

Size: 482 Bytes

Versions: 2

Compression:

Stored size: 482 Bytes

Contents

require 'adhearsion'
require 'adhearsion-asr'

RSpec.configure do |config|
  config.color = true
  config.tty = true

  config.mock_with :rspec
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true

  config.backtrace_exclusion_patterns = [/rspec/]

  config.before do
    @current_datetime = DateTime.now
    allow(DateTime).to receive(:now).and_return(@current_datetime)

    allow(Punchblock).to receive(:new_request_id).and_return('foo')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adhearsion-asr-1.5.0 spec/spec_helper.rb
adhearsion-asr-1.4.0 spec/spec_helper.rb