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/51e2a391ed07008a893c to your computer and use it in GitHub Desktop.

Select an option

Save jwood/51e2a391ed07008a893c to your computer and use it in GitHub Desktop.
Fix Flakey Feature Tests by Using Capybara's APIs Properly - 4
click_link("#foo")
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