class LayoutExceptionRaisedTest

Public Instance Methods

test_exception_raised_when_layout_file_not_found() click to toggle source
# File actionview/test/actionpack/controller/layout_test.rb, line 237
def test_exception_raised_when_layout_file_not_found
  @controller = SetsNonExistentLayoutFile.new
  assert_raise(ActionView::MissingTemplate) { get :hello }
end