From c24584a1c70538211eaa6869d419600659307149 Mon Sep 17 00:00:00 2001 From: goruchan Date: Tue, 16 Jul 2024 22:57:08 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=82=B1=E3=83=BC?= =?UTF-8?q?=E3=82=B9=E9=96=93=E3=81=AB=E7=A9=BA=E8=A1=8C=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/system/articles_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/system/articles_test.rb b/test/system/articles_test.rb index 12b73838459..ad4e37598d6 100644 --- a/test/system/articles_test.rb +++ b/test/system/articles_test.rb @@ -412,6 +412,7 @@ class ArticlesTest < ApplicationSystemTestCase visit '/articles.atom' assert_no_text 'WIPの記事は atom feed に表示されない' end + test 'not logged-in users cannot view WIP articles without correct token' do visit article_path(@article3) assert_text '管理者・メンターとしてログインしてください'