Skip to content

Commit

Permalink
Fix example request spec in readme
Browse files Browse the repository at this point in the history
Closes rspec#130.
  • Loading branch information
aanand authored and dchelimsky committed Jul 16, 2010
1 parent 7b8fe1f commit e063c45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.markdown
Expand Up @@ -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

Expand Down

0 comments on commit e063c45

Please sign in to comment.