From: Tom Hughes Date: Thu, 27 Aug 2015 20:55:48 +0000 (+0100) Subject: Update test for changes in #903 X-Git-Tag: live~4041 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/fe4d50588d8173060a0055662c1e4b1304c17808?ds=inline Update test for changes in #903 --- diff --git a/test/controllers/diary_entry_controller_test.rb b/test/controllers/diary_entry_controller_test.rb index f86321bc3..60c981efb 100644 --- a/test/controllers/diary_entry_controller_test.rb +++ b/test/controllers/diary_entry_controller_test.rb @@ -106,7 +106,7 @@ class DiaryEntryControllerTest < ActionController::TestCase assert_select "select#diary_entry_language_code", :count => 1 assert_select "input#latitude[name='diary_entry[latitude]']", :count => 1 assert_select "input#longitude[name='diary_entry[longitude]']", :count => 1 - assert_select "input[name=commit][type=submit][value=Save]", :count => 1 + assert_select "input[name=commit][type=submit][value=Publish]", :count => 1 assert_select "input[name=commit][type=submit][value=Edit]", :count => 1 assert_select "input[name=commit][type=submit][value=Preview]", :count => 1 assert_select "input", :count => 7