Skip to content

Instantly share code, notes, and snippets.

@jwood
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save jwood/3ce9f60a042e65144356 to your computer and use it in GitHub Desktop.

Select an option

Save jwood/3ce9f60a042e65144356 to your computer and use it in GitHub Desktop.
Fix Flakey Feature Tests by Using Capybara's APIs Properly - 3
find("#foo").click
expect(find(".message")).to have_text("Loaded successfully")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment