Skip to content

Commit

Permalink
Clarify that examples are for signing in (as opposed to up)
Browse files Browse the repository at this point in the history
  • Loading branch information
artfuldodger committed Jun 13, 2013
1 parent 4842732 commit 2b06d2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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`:

Expand Down

0 comments on commit 2b06d2b

Please sign in to comment.