Fixed a few lints; changed rake task name to test:lint
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-08-12 23:56:46 -04:00
parent eeedc57cd3
commit 3f0efce0d8
6 changed files with 14 additions and 6 deletions

View File

@@ -7,8 +7,11 @@ RSpec.describe(BenchmarkController) do
describe 'GET /benchmark' do
before { get '/benchmark' }
it 'Benchmark base route redirects to /benchmark/list' do
it 'Benchmark base route is a redirect' do
expect(last_response).to(be_redirect)
end
it 'Benchmark base route Location header points to /benchmark/list' do
expect(last_response['Location']).to(eq("#{BASE_URL}/benchmark/list"))
end
end