class AbstractControllerTests::Layouts::WithStringLocals

Public Instance Methods

index() click to toggle source
# File actionview/test/actionpack/abstract/layouts_test.rb, line 41
def index
  render template: "some/template", locals: { foo: "less than 3" }
end