Update examples fill_in 'Email' and click_button #1317

Merged
merged 1 commit into from Jul 3, 2014

Conversation

Projects
None yet
3 participants
Contributor

stgeneral commented May 29, 2014

Updates examples to click form button instead of a link and filling in fields labled as Email instead of Login.

Clean and full version of #1315 and #1316 pull requests.

Collaborator

twalpole commented May 29, 2014

What is the reason for this change? Capybara is not Devise specific, or even Rails specific - and neither are the examples in the README

Contributor

stgeneral commented May 29, 2014

@twalpole the main reason is to make examples workable because click_link won't submit form.
And bit more logical user in example is created with email (not login) field.

Devise was just an example of widely used case.

Collaborator

abotalov commented Jul 3, 2014

LGTM

@twalpole twalpole added a commit that referenced this pull request Jul 3, 2014

@twalpole twalpole Merge pull request #1317 from stgeneral/update-readme-examples
Update examples fill_in 'Email' and click_button
42aaeab

@twalpole twalpole merged commit 42aaeab into teamcapybara:master Jul 3, 2014

1 check failed

continuous-integration/travis-ci The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment