Fix the integration test

This commit is contained in:
Shaun McDonald 2009-05-31 17:59:39 +00:00
parent 90f6dac51e
commit 0b6ac3b3e1

View file

@ -39,7 +39,7 @@ class UserDiariesTest < ActionController::IntegrationTest
assert_select "html:root" do assert_select "html:root" do
assert_select "body" do assert_select "body" do
assert_select "div#content" do assert_select "div#content" do
assert_select "h1", "New diary entry" assert_select "h1", "New Diary Entry"
assert_select "form[action='/user/#{users(:normal_user).display_name}/diary/new']" do assert_select "form[action='/user/#{users(:normal_user).display_name}/diary/new']" do
assert_select "input[id=diary_entry_title]" assert_select "input[id=diary_entry_title]"
end end