forked from teamcapybara/capybara
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify that examples are for signing in (as opposed to up)
- Loading branch information
1 parent
4842732
commit 2b06d2b
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,7 @@ Capybara with `:type => :feature`. | |
You can now write your specs like so: | ||
|
||
```ruby | ||
describe "the signup process", :type => :feature do | ||
describe "the signin process", :type => :feature do | ||
before :each do | ||
User.make(:email => '[email protected]', :password => 'caplin') | ||
end | ||
|
@@ -127,7 +127,7 @@ end | |
Finally, Capybara also comes with a built in DSL for creating descriptive acceptance tests: | ||
|
||
```ruby | ||
feature "Signing up" do | ||
feature "Signing in" do | ||
background do | ||
User.make(:email => '[email protected]', :password => 'caplin') | ||
end | ||
|
@@ -162,7 +162,7 @@ end | |
|
||
## Using Capybara with Test::Unit | ||
|
||
* If you are using Rails, add the following code in your `test_helper.rb` | ||
* If you are using Rails, add the following code in your `test_helper.rb` | ||
file to make Capybara available in all test cases deriving from | ||
`ActionDispatch::IntegrationTest`: | ||
|
||
|