Skip to content

Instantly share code, notes, and snippets.

@benjohnson77
Created April 22, 2015 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjohnson77/8a4f8159cbc19b8e9c83 to your computer and use it in GitHub Desktop.
Save benjohnson77/8a4f8159cbc19b8e9c83 to your computer and use it in GitHub Desktop.
expect(page).to have_select("input[name='client_status_id']", selected: 'All')
expect(page).to have_select("input[name='client_type_id']", selected: 'All')
expect(page).to have_select("input[name='distributor_id']', selected: 'All')
expect(page).to have_select('input[name='state']', selected: 'All')
expect(page).to have_field('client_name', with: '')
expect(page).to have_field('client_email', with: '')
expect(page).to have_field('client_phone', with: '')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment