#print @response.to_yaml
assert_select "html:root", :count => 1 do
assert_select "head", :count => 1 do
- assert_select "title", :text => /New diary entry/, :count => 1
+ assert_select "title", :text => /New Diary Entry/, :count => 1
end
assert_select "body", :count => 1 do
assert_select "div#content", :count => 1 do
- assert_select "h1", "New diary entry", :count => 1
+ assert_select "h1", "New Diary Entry", :count => 1
# We don't care about the layout, we just care about the form fields
# that are available
assert_select "form[action='/diary_entry/new']", :count => 1 do