test/system/rack_tests.rb in deas-0.23.4 vs test/system/rack_tests.rb in deas-0.24.0

- old
+ new

@@ -94,9 +94,16 @@ 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