Skip to content

Instantly share code, notes, and snippets.

@tobowers
Created June 26, 2012 22:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobowers/2999782 to your computer and use it in GitHub Desktop.
Save tobowers/2999782 to your computer and use it in GitHub Desktop.
1) the admin's dashboard allows enabling of pending users
Failure/Error: page.should_not have_selector(:xpath, pending_name_selector)
expected xpath "//li[contains(@class,'pending_volunteer')]/a[contains(@class,'name') and contains(text(),'Pending McGee')]" not to return anything
# ./integration/admin/admin_dashboard_spec.rb:49:in `(root)'
2) the admin's outreach campaigns page can create campaign with new list/snapshot
Failure/Error: new_snapshot_people.should_not == orig_snapshot_people
expected not: == "3"
got: "3"
# ./integration/admin/admin_outreach_campaigns_spec.rb:67:in `(root)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment