Skip to content

Commit

Permalink
validation追加に伴う修正
Browse files Browse the repository at this point in the history
提出物のCheckが済んでいないため、API::Practices::Learning::CompletionMessageController#updateが実行できていなかった。
  • Loading branch information
reckyy committed Nov 20, 2024
1 parent a6b0c80 commit d7071e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/system/products_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ class ProductsTest < ApplicationSystemTestCase
end

test 'not display learning completion message when a user of the completed product visits after the second time' do
visit_with_auth "/products/#{products(:product65).id}", 'komagata'
click_button '提出物を確認'
assert_text '提出物の確認を取り消す'
visit_with_auth "/products/#{products(:product65).id}", 'kimura'
first('label.card-main-actions__muted-action.is-closer').click
assert_no_text '喜びをXにポストする!'
Expand Down

0 comments on commit d7071e1

Please sign in to comment.