Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent 8398bb7 commit 6207edc5b844f433194c8a687a1421eea23a6f44 @mlineen mlineen committed Feb 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -109,7 +109,7 @@ a black box approach.
```ruby
describe "home page" do
- it "diplays the user's username after successful login" do
+ it "displays the user's username after successful login" do
user = User.create!(:username => "jdoe", :password => "secret")
get "/login"
assert_select "form.login" do
@@ -129,7 +129,7 @@ users like to use extension libraries like FactoryGirl and Capybara:
```ruby
describe "home page" do
- it "diplays the user's username after successful login" do
+ it "displays the user's username after successful login" do
user = Factory(:user, :username => "jdoe", :password => "secret")
visit "/login"
fill_in "Username", :with => "jdoe"

0 comments on commit 6207edc

Please sign in to comment.