diff options
Diffstat (limited to 'spec/features/projects/jobs/user_browses_jobs_spec.rb')
-rw-r--r-- | spec/features/projects/jobs/user_browses_jobs_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/jobs/user_browses_jobs_spec.rb b/spec/features/projects/jobs/user_browses_jobs_spec.rb index 995f4a1e3d2..cb3c1594868 100644 --- a/spec/features/projects/jobs/user_browses_jobs_spec.rb +++ b/spec/features/projects/jobs/user_browses_jobs_spec.rb @@ -203,15 +203,15 @@ RSpec.describe 'User browses jobs' do end it 'contains a link to the job sha' do - expect(page.find('[data-testid="job-sha"]')).to have_content "#{job.sha[0..7]}" + expect(page.find('[data-testid="job-sha"]')).to have_content job.sha[0..7].to_s end it 'contains a link to the job id' do - expect(page.find('[data-testid="job-id-link"]')).to have_content "#{job.id}" + expect(page.find('[data-testid="job-id-link"]')).to have_content job.id.to_s end it 'contains a link to the job ref' do - expect(page.find('[data-testid="job-ref"]')).to have_content "#{job.ref}" + expect(page.find('[data-testid="job-ref"]')).to have_content job.ref.to_s end end end |