Skip to content

Commit

Permalink
テスト名をわかりやすく修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrimprin committed Oct 27, 2024
1 parent d6ccc50 commit cbc1dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/components/learning_component_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_render_new_product_link
assert_link '提出物を作る', href: '/products/new?practice_id=315059988'
end

def test_not_render_product_link_when_practice_is_not_submission
def test_does_not_render_product_link_when_practice_is_not_submission
practice = practices(:practice3)
current_user = users(:hatsuno)
render_inline(Learnings::LearningComponent.new(practice:, current_user:))
Expand All @@ -28,7 +28,7 @@ def test_not_render_product_link_when_practice_is_not_submission
assert_no_link '提出物を作る'
end

def test_render_completed_when_practice_is_completed
def test_render_completed_message_when_practice_is_completed
practice = practices(:practice2)
current_user = users(:komagata)
render_inline(Learnings::LearningComponent.new(practice:, current_user:))
Expand Down

0 comments on commit cbc1dcc

Please sign in to comment.