Skip to content

Commit

Permalink
fix survey tests for progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
JiyaGupta-cs committed Feb 25, 2025
1 parent 6bcf5d6 commit 81d5996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/features/surveys_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
visit survey_path(@survey)
# Sets the course automatically
expect(page).to have_content 'Survey for My Active Course'
expect(page).to have_content 'progress'
expect(page).to have_content 'Progress'
end

it 'sets the course and shows the progress bar by going to the course page' do
Expand All @@ -144,7 +144,7 @@
click_link 'Take Survey'
# Sets the course automatically
expect(page).to have_content 'Survey for My Active Course'
expect(page).to have_content 'progress'
expect(page).to have_content 'Progress'
end

it 'renders an optout page' do
Expand Down

0 comments on commit 81d5996

Please sign in to comment.