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

Select an option

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