diff --git a/spec/system/submission_details_spec.rb b/spec/system/submission_details_spec.rb index dae65cf6..c40986cd 100644 --- a/spec/system/submission_details_spec.rb +++ b/spec/system/submission_details_spec.rb @@ -25,7 +25,7 @@ updated_submission = Submission.find(submission.id) expect(updated_submission.judging_status).to eq('selected') - find('#selected-to-advance').click + find_by_id('selected-to-advance').click updated_submission = Submission.find(submission.id) expect(updated_submission.judging_status).to eq('winner') end