- assert(page.has_no_text?(name),
- "new share row still exists after being revoked")
- assert_equal(start_share_count - 1, count_shares,
- "revoking share did not remove row from sharing table")
+ using_wait_time(Capybara.default_wait_time * 3) do
+ assert(page.has_no_text?(name),
+ "new share row still exists after being revoked")
+ assert_equal(start_rows.size - 1, share_rows.size,
+ "revoking share did not remove row from sharing table")
+ end