Skip to content

Loading…

Update README.md #506

Merged
merged 1 commit into from

2 participants

@mlineen

minor typo "diplays" to "displays"

@justinko justinko merged commit a281271 into rspec:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 21, 2012
  1. @mlineen

    Update README.md

    mlineen committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -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"
Something went wrong with that request. Please try again.