Permalink
Browse files

Fix example request spec in readme

Closes #130.
  • Loading branch information...
1 parent 7b8fe1f commit e063c453848b8e5538a1da3238893bb8c3066ff9 @aanand aanand committed with dchelimsky Jul 16, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.markdown
View
@@ -65,8 +65,10 @@ Request specs live in spec/requests.
describe "widgets resource" do
describe "GET index" do
- get "/widgets/index"
- response.should have_selector("h1", :content => "Widgets")
+ it "contains the widgets header" do
+ get "/widgets/index"
+ response.should have_selector("h1", :content => "Widgets")
+ end
end
end

0 comments on commit e063c45

Please sign in to comment.