test/unit/view_handler_tests.rb in deas-0.33.0 vs test/unit/view_handler_tests.rb in deas-0.34.0
- old
+ new
@@ -223,12 +223,12 @@
'headers' => { 'Content-Type' => 'text/plain' },
'body' => 'test halting'
})
runner.run
- assert_equal 200, runner.return_value.status
- assert_equal({ 'Content-Type' => 'text/plain' }, runner.return_value.headers)
- assert_equal 'test halting', runner.return_value.body
+ assert_equal 200, runner.response_value.status
+ assert_equal({ 'Content-Type' => 'text/plain' }, runner.response_value.headers)
+ assert_equal 'test halting', runner.response_value.body
end
end
class ContentTypeTests < UnitTests