spec/spec_helper.rb in pubsubstub-0.2.1 vs spec/spec_helper.rb in pubsubstub-0.2.2
- old
+ new
@@ -1,9 +1,7 @@
require 'open3'
require 'rack/test'
-require 'pry'
-require 'pry-byebug'
require 'timecop'
require 'thread'
require_relative 'support/threading_matchers'
require_relative 'support/http_helpers'
@@ -13,18 +11,9 @@
ENV['RACK_ENV'] = 'test'
require_relative '../lib/pubsubstub'
Pubsubstub.logger = Logger.new(nil)
Pubsubstub.logger.level = Logger::DEBUG
-
-# Fake EM
-module EventMachine
- extend self
-
- def reactor_running?
- false
- end
-end
RSpec.configure do |config|
config.include Rack::Test::Methods
config.include HTTPHelpers