Fix the integration test
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Sun, 31 May 2009 17:59:39 +0000 (17:59 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Sun, 31 May 2009 17:59:39 +0000 (17:59 +0000)
test/integration/user_diaries_test.rb

index 98ea04543b0cbe510394c7b3f581aa2122f14792..8fcc694e9196150d2eeac8cdc07cb84c030d6309 100644 (file)
@@ -39,7 +39,7 @@ class UserDiariesTest < ActionController::IntegrationTest
     assert_select "html:root" do
       assert_select "body" 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 "input[id=diary_entry_title]"
           end