X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/df02008ee970338a992c364419d6f59fdc54e63d..9813d9f1e48d575bb0e0b5029dc0ec134a011090:/test/functional/diary_entry_controller_test.rb diff --git a/test/functional/diary_entry_controller_test.rb b/test/functional/diary_entry_controller_test.rb index 724fb48a5..0fa9ea97f 100644 --- a/test/functional/diary_entry_controller_test.rb +++ b/test/functional/diary_entry_controller_test.rb @@ -104,7 +104,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", :text => "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/new']", :count => 1 do