Skip to content

Commit

Permalink
Fix failing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
just806me committed Aug 31, 2024
1 parent 63d9612 commit cb6c2a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/features/registration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

before { click_button 'commit' }

it { expect(page).to have_content 'Заклад, у якому ви пишете олімпіаду не може бути порожнім' }
it { expect(find_by_id('user_contest_site').native.attribute('validationMessage')).to be_present }

it 'does not deliver email' do
perform_enqueued_jobs
Expand All @@ -74,7 +74,7 @@

before { click_button 'commit' }

it { expect(page).to have_content 'Клас не може бути порожнім' }
it { expect(find_by_id('user_grade').native.attribute('validationMessage')).to be_present }

it 'does not deliver email' do
perform_enqueued_jobs
Expand All @@ -87,7 +87,7 @@

before { click_button 'commit' }

it { expect(page).to have_content 'Місто не може бути порожнім' }
it { expect(find_by_id('user_city').native.attribute('validationMessage')).to be_present }

it 'does not deliver email' do
perform_enqueued_jobs
Expand All @@ -114,7 +114,7 @@

before { click_button 'commit' }

it { expect(page).to have_content 'Ваш навчальний заклад не може бути порожнім' }
it { expect(find_by_id('user_institution').native.attribute('validationMessage')).to be_present }

it 'does not deliver email' do
perform_enqueued_jobs
Expand Down

0 comments on commit cb6c2a2

Please sign in to comment.