Don't request __middleman__

This commit is contained in:
Ben Hollis 2012-07-18 23:59:55 -07:00
parent 888ee078cc
commit 1f22184fc7

View file

@ -97,9 +97,7 @@ module Middleman::Cli
def shared_rack def shared_rack
@_shared_rack ||= begin @_shared_rack ||= begin
mock = ::Rack::MockSession.new(shared_server.to_rack_app) mock = ::Rack::MockSession.new(shared_server.to_rack_app)
sess = ::Rack::Test::Session.new(mock) ::Rack::Test::Session.new(mock)
response = sess.get("__middleman__")
sess
end end
end end