Skip to content

Show how to assert that a specific layout was rendered in the render_template docs #1836

Closed
@brunofacca

Description

@brunofacca

Given that render_template can be used to assert that a specific layout was rendered, as in expect(response).to render_template('layouts/admin'), I suggest we include this in the docs. May I submit a PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions