spec/endpoint_spec.rb in rasti-web-2.0.1 vs spec/endpoint_spec.rb in rasti-web-2.1.0

- old
+ new

@@ -6,10 +6,10 @@ endpoint = Rasti::Web::Endpoint.new do |req, res, render| req.must_be_instance_of Rasti::Web::Request res.must_be_instance_of Rack::Response render.text 'Content' - end + end env = Rack::MockRequest.env_for '/' status, headers, response = endpoint.call env \ No newline at end of file