Adding a network delay on subsequent action in proposal spec.

Without this, I get consistent failures, and others experience intermmitent failures, on this spec.
This commit is contained in:
James Mason 2014-08-19 08:49:51 -07:00
parent cb68445efa
commit 818fd96418

View file

@ -92,6 +92,7 @@ feature Event do
# Delete a commercial
click_link 'Commercials'
click_link 'Delete'
page.driver.network_traffic
expect(flash).to eq('Commercial was successfully destroyed.')
expect(event.commercials.count).to eq(expected_count_commercial - 1)