Remove race condition in test of splash page versioning
Resolves:
$ rspec spec/features/versions_spec.rb:234
…
Failures:
1) Version display changes in splashpages
Failure/Error: expect(page).to have_text("#{organizer.name} created new splashpage with ID #{splashpage_id} in conference #{conference.short_title}")
expected to find text "name50 created new splashpage with ID 1 in conference yvXgaw" in "…name50 created new splashpage in conference yvXgaw less than a minute ago…'
This commit is contained in:
parent
ae98ac1430
commit
ab623daca9
1 changed files with 1 additions and 0 deletions
|
|
@ -250,6 +250,7 @@ feature 'Version' do
|
||||||
|
|
||||||
click_link 'Delete'
|
click_link 'Delete'
|
||||||
page.accept_alert
|
page.accept_alert
|
||||||
|
expect(page).to have_text('Splashpage was successfully destroyed')
|
||||||
|
|
||||||
visit admin_revision_history_path
|
visit admin_revision_history_path
|
||||||
expect(page).to have_text("#{organizer.name} created new splashpage with ID #{splashpage_id} in conference #{conference.short_title}")
|
expect(page).to have_text("#{organizer.name} created new splashpage with ID #{splashpage_id} in conference #{conference.short_title}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue