spec/integration/flash_spec.rb in volt-0.9.1.pre1 vs spec/integration/flash_spec.rb in volt-0.9.1.pre2
- old
+ new
@@ -8,9 +8,10 @@
click_link 'Flash'
click_link 'Flash Notice'
expect(page).to have_content('A notice message')
+ # sleep 40
find('.alert').click
expect(page).to_not have_content('A notice message')
click_link 'Flash Success'
expect(page).to have_content('A success message')