test/system/rack_tests.rb in deas-0.26.0 vs test/system/rack_tests.rb in deas-0.27.0

- old
+ new

@@ -94,17 +94,10 @@ expected_body = "Layout 1\n<span>HamlWithHamlLayoutHandler</span>\n" assert_equal 200, last_response.status assert_equal expected_body, last_response.body end - should "render partial templates" do - get '/partial.html' - expected_body = "Stuff: some-info\n" - assert_equal 200, last_response.status - assert_equal expected_body, last_response.body - end - should "return a 302 redirecting to the expected locations" do get '/redirect' expected_location = 'http://google.com' assert_equal 302, last_response.status @@ -156,10 +149,9 @@ require 'multi_json' @data = MultiJson.decode(last_response.body || "") end should "be able to access sinatra call data" do - assert_equal 'something', @data['app_settings_a_setting'] assert_equal 'Logger', @data['logger_class_name'] assert_equal 'GET', @data['request_method'] assert_equal 'Content-Type', @data['response_firstheaderval'] assert_equal 'something', @data['params_a_param'] assert_equal '{}', @data['session_inspect']