features/support/env.rb in visage-app-0.1.8 vs features/support/env.rb in visage-app-0.2.0
- old
+ new
@@ -21,13 +21,13 @@
class SinatraWorld
include Rack::Test::Methods
include Webrat::Methods
include Webrat::Matchers
- Webrat::Methods.delegate_to_session :response_code, :response_body
+ Webrat::Methods.delegate_to_session :response_code, :response_body, :response_headers, :response
def app
- Sinatra::Application
+ Visage::JSON
end
end
World do
SinatraWorld.new