Fixed a logic error with removing benchmarks from a test; cleaned up some linter errors
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine
2025-08-12 12:19:25 -04:00
parent 0a1037e79a
commit c74ca114d8
3 changed files with 7 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ class Test < Sequel::Model
many_to_one :hardware
many_to_many :benchmarks
def has_benchmark(benchmark_id)
def benchmark?(benchmark_id)
return benchmarks_dataset.where(Sequel[:benchmarks][:id] => benchmark_id).any?
end