def METHOD_NAME(salt_ssh_cli, grains_filter_by_default):
    """
    test grains.filter_by during template rendering with salt-ssh and default parameter
    """
    ret = salt_ssh_cli.run("state.show_sls", "grains_filter_by_default")
    assert ret.returncode == 0
    assert ret.data
    rendered = ret.data["grains-filter-by"]["file"][1]["context"]
    assert "has_common" in rendered
    assert "merged" in rendered
    assert "defaulted" in rendered