]> git.openstreetmap.org Git - rails.git/commitdiff
fix to the diary entry test
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Sun, 31 May 2009 22:41:57 +0000 (22:41 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Sun, 31 May 2009 22:41:57 +0000 (22:41 +0000)
test/functional/diary_entry_controller_test.rb

index 90539242ebcef08a0814b8d42f3ef8c258306ead..709404045dbb1cb516d9444d40183557a69f31b2 100644 (file)
@@ -16,7 +16,7 @@ class DiaryEntryControllerTest < ActionController::TestCase
     #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