fix to the diary entry test

This commit is contained in:
Shaun McDonald 2009-05-31 22:36:37 +00:00
parent 518dbd9e34
commit b031feeb4b

View file

@ -20,7 +20,7 @@ class DiaryEntryControllerTest < ActionController::TestCase
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