def METHOD_NAME(rule_runner: RuleRunner) -> None:
    rule_runner.write_files({"openapi.yaml": BAD_FILE, "BUILD": "openapi_documents(name='t')"})
    tgt = rule_runner.get_target(Address("", target_name="t", relative_file_path="openapi.yaml"))
    result = run_spectral(rule_runner, [tgt], extra_args=["--spectral-skip"])
    assert not result