From f31225e8c2e631b7095a733f6170985bc4a221b6 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Wed, 28 Aug 2024 15:04:01 +0300 Subject: [PATCH] fix spec --- spec/system/template_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/template_spec.rb b/spec/system/template_spec.rb index 72f09331..859b654d 100644 --- a/spec/system/template_spec.rb +++ b/spec/system/template_spec.rb @@ -30,7 +30,7 @@ RSpec.describe 'Template' do visit template_path(template) submitters.each do |submitter| - expect(page).to have_content(submitter.email) + expect(page).to have_content(submitter.name) end expect(page).to have_content(template.name)