A lot :)
Some checks failed
/ Run tests (push) Successful in 8m56s
/ Run system tests (push) Failing after 1h0m48s
/ Build, push and deploy image (push) Successful in 7m47s

This commit is contained in:
david 2024-09-05 22:54:38 +02:00
parent aad67af0d1
commit 63fc206c27
153 changed files with 2043 additions and 646 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require "test_helper"
class LinkCategoriesControllerTest < ActionDispatch::IntegrationTest
@ -17,7 +19,8 @@ class LinkCategoriesControllerTest < ActionDispatch::IntegrationTest
test "should create link_category" do
assert_difference("LinkCategory.count") do
post link_categories_url, params: { link_category: { description: @link_category.description, name: @link_category.name } }
post link_categories_url,
params: { link_category: { description: @link_category.description, name: @link_category.name } }
end
assert_redirected_to link_category_url(LinkCategory.last)
@ -34,7 +37,8 @@ class LinkCategoriesControllerTest < ActionDispatch::IntegrationTest
end
test "should update link_category" do
patch link_category_url(@link_category), params: { link_category: { description: @link_category.description, name: @link_category.name } }
patch link_category_url(@link_category),
params: { link_category: { description: @link_category.description, name: @link_category.name } }
assert_redirected_to link_category_url(@link_category)
end