]> git.openstreetmap.org Git - rails.git/commitdiff
Update test for changes in #903
authorTom Hughes <tom@compton.nu>
Thu, 27 Aug 2015 20:55:48 +0000 (21:55 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 27 Aug 2015 20:55:48 +0000 (21:55 +0100)
test/controllers/diary_entry_controller_test.rb

index f86321bc34af8b2057c404e9efb3bb03fcdfe81c..60c981efb547e63b733f6c2ddccc209dab9b86b3 100644 (file)
@@ -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