Skip to content

Commit

Permalink
Merge pull request #7190 from fjordllc/chore/test-for-training-page
Browse files Browse the repository at this point in the history
法人利用を研修利用に変更
  • Loading branch information
komagata authored Jan 11, 2024
2 parents da4424b + 7f519f2 commit 26e6332
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
6 changes: 0 additions & 6 deletions test/system/home_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/system/require_login_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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', 'プライバシーポリシー')
Expand Down
6 changes: 3 additions & 3 deletions test/system/welcome_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26e6332

Please sign in to comment.