From 7f519f23c156c01be7946e1b7467f6c473da31d0 Mon Sep 17 00:00:00 2001 From: komagata Date: Thu, 11 Jan 2024 16:38:43 +0900 Subject: [PATCH] =?UTF-8?q?=E6=B3=95=E4=BA=BA=E5=88=A9=E7=94=A8=E3=82=92?= =?UTF-8?q?=E7=A0=94=E4=BF=AE=E5=88=A9=E7=94=A8=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 2 ++ test/system/home_test.rb | 6 ------ test/system/require_login_test.rb | 2 +- test/system/welcome_test.rb | 6 +++--- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 87134fcbae8..7080c853482 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -84,6 +84,8 @@ jobs: - run: name: Assets precompile command: 'bundle exec rails assets:clean assets:precompile NODE_OPTIONS=--openssl-legacy-provider' + - run: + command: 'gem install stringio -v 3.1.0' - run: name: Test command: | diff --git a/test/system/home_test.rb b/test/system/home_test.rb index 011e57a258a..7c4719ac1a7 100644 --- a/test/system/home_test.rb +++ b/test/system/home_test.rb @@ -496,12 +496,6 @@ def assert_events_count(event_label, count) end end - test 'show trainee and adviser invitation links when the user logged in as adviser and has belongs to company' do - visit_with_auth '/', 'senpai' - assert_text '研修生招待リンク' - assert_text '社内メンター招待リンク' - end - test 'shows event status even if it is not held on holidays' do Event.destroy_all RegularEvent.where.not(title: 'ダッシュボード表示確認用テスト定期イベント(祝日非開催)').destroy_all diff --git a/test/system/require_login_test.rb b/test/system/require_login_test.rb index 53e4ccf2d71..3a388119efc 100644 --- a/test/system/require_login_test.rb +++ b/test/system/require_login_test.rb @@ -67,7 +67,7 @@ class RequireLoginTest < ApplicationSystemTestCase assert_no_login_required('/welcome', 'フィヨルドブートキャンプとは?') assert_no_login_required('/pricing', '料金') assert_no_login_required('/faq', 'FAQ') - assert_no_login_required('/training', '法人利用') + assert_no_login_required('/training', '研修利用') assert_no_login_required('/practices', '学習内容') assert_no_login_required('/tos', '利用規約') assert_no_login_required('/pp', 'プライバシーポリシー') diff --git a/test/system/welcome_test.rb b/test/system/welcome_test.rb index d0db1064092..3c50c69221b 100644 --- a/test/system/welcome_test.rb +++ b/test/system/welcome_test.rb @@ -26,9 +26,9 @@ class WelcomeTest < ApplicationSystemTestCase test 'GET /training' do visit '/training' - assert_equal '法人利用 | FJORD BOOT CAMP(フィヨルドブートキャンプ)', title - assert_selector "meta[property='og:title'][content='法人利用']", visible: false - assert_selector "meta[name='twitter:title'][content='法人利用']", visible: false + assert_equal '研修利用 | FJORD BOOT CAMP(フィヨルドブートキャンプ)', title + assert_selector "meta[property='og:title'][content='研修利用']", visible: false + assert_selector "meta[name='twitter:title'][content='研修利用']", visible: false end test 'GET /articles' do