Skip to content

Commit

Permalink
自分の担当タブの数字を変更したことに伴う、システムテストの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
makiichikawa committed Sep 14, 2021
1 parent 34494bd commit 38f2828
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/system/products_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,14 @@ def assigned_product_count

[
'担当者がいない提出物の場合、担当者になる',
'自分が担当者の場合、担当者のまま'
'自分が担当者の場合、担当者のまま',
'タブ上の数字は未返信の数字のため、返信するとカウントされない'
].each do |comment|
visit "/products/#{products(:product1).id}"
post_comment(comment)

visit products_not_responded_index_path
assert_equal before_comment + 1, assigned_product_count
assert_equal before_comment, assigned_product_count
end
end

Expand Down

0 comments on commit 38f2828

Please sign in to comment.