Skip to content

Commit 79f38ac

Browse files
committed
tags_test.rbを修正(.tagify__tagにタグが入力されていることを明示的に確認する処理に修正)
1 parent 2b88946 commit 79f38ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/system/article/tags_test.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ class Article::TagsTest < ApplicationSystemTestCase
5656
fill_in 'タイトル', with: 'ショートカットボタンからのタグ追加テスト'
5757
fill_in '本文', with: 'タグショートカットボタンのテストです'
5858
find('button.js-tag-input-button', text: '注目の記事').click
59-
find('.tagify__input')
60-
assert_text '注目の記事'
59+
assert_selector('.tagify__tag', text: '注目の記事')
6160
page.accept_confirm do
6261
click_on '公開する'
6362
end

0 commit comments

Comments
 (0)