Sha256: e9589164b0fc7cf1efbf7c29ebda3ca53429ff527878805b875071b95ea8e683

Contents?: true

Size: 257 Bytes

Versions: 20

Compression:

Stored size: 257 Bytes

Contents

# inlined from sinatra-synchrony
require 'rack/test'

module Rack
  class MockSession
    alias_method :request_original, :request
    def request(uri, env)
      EM.synchrony do
        request_original uri, env
        EM.stop
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
big_brother-0.8.8.1 spec/support/mock_session.rb
big_brother-0.8.8 spec/support/mock_session.rb
big_brother-0.8.7 spec/support/mock_session.rb
big_brother-0.6.8 spec/support/mock_session.rb
big_brother-0.6.7 spec/support/mock_session.rb
big_brother-0.6.6 spec/support/mock_session.rb
big_brother-0.6.5 spec/support/mock_session.rb
big_brother-0.6.4 spec/support/mock_session.rb
big_brother-0.6.3 spec/support/mock_session.rb
big_brother-0.6.2 spec/support/mock_session.rb
big_brother-0.6.1 spec/support/mock_session.rb
big_brother-0.6.0 spec/support/mock_session.rb
big_brother-0.5.0 spec/support/mock_session.rb
big_brother-0.4.1 spec/support/mock_session.rb
big_brother-0.4.0 spec/support/mock_session.rb
big_brother-0.3.1 spec/support/mock_session.rb
big_brother-0.3.0 spec/support/mock_session.rb
big_brother-0.2.1 spec/support/mock_session.rb
big_brother-0.2.0 spec/support/mock_session.rb
big_brother-0.1.0 spec/support/mock_session.rb