Added some more unit tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
require_relative '../spec_helper'
|
||||
|
||||
RSpec.describe(TestController) do
|
||||
# /test - redirects to /test/list
|
||||
# GET /test - redirects to /test/list
|
||||
describe 'GET /test' do
|
||||
before { get '/test' }
|
||||
|
||||
@@ -20,7 +20,7 @@ RSpec.describe(TestController) do
|
||||
end
|
||||
end
|
||||
|
||||
# /test/list - displays a table of tests
|
||||
# GET /test/list - displays a table of tests
|
||||
describe 'GET /test/list' do
|
||||
before { get '/test/list' }
|
||||
|
||||
@@ -37,7 +37,7 @@ RSpec.describe(TestController) do
|
||||
end
|
||||
end
|
||||
|
||||
# /test/add - form for adding test
|
||||
# GET /test/add - form for adding test
|
||||
describe 'GET /test/add' do
|
||||
before { get '/test/add' }
|
||||
|
||||
|
Reference in New Issue
Block a user