Sha256: f57518a98749c87274b29797ff546335623fe6eecc1bb462a8597a5f2d582cc2
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 Bytes
Contents
ENV["RAILS_ENV"] ||= 'test' RSpec.configure do |c| c.mock_with :mocha c.before(:each) { Time.now.tap { | now| Time.stubs(:now).returns(now) } } end require 'support/payloads' require 'support/matchers' require 'travis' require 'travis/logging' require 'stringio' require 'mocha' Travis.logger = Logger.new(StringIO.new) include Mocha::API RSpec.configure do |c| c.after :each do Travis.config.notifications.clear Travis::Notifications.instance_variable_set(:@subscriptions, nil) Travis::Notifications::Pusher.send(:protected, :queue_for, :payload_for) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
travis-core-0.0.1 | spec/spec_helper.rb |