]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/report_diary_entry_test.rb
Merge branch 'master' into moderation
[rails.git] / test / system / report_diary_entry_test.rb
index 542e8ba0c8e6bec68b436fcc17bde7b0d984ab01..988bfbe1f095cc450088d09946c64ac30941efbe 100644 (file)
@@ -24,7 +24,7 @@ class ReportDiaryEntryTest < ApplicationSystemTestCase
 
     choose I18n.t("reports.categories.DiaryEntry.spam")
     fill_in "report_details", :with => "This is advertising"
-    click_on "Save changes"
+    click_on "Create Report"
 
     assert page.has_content? "Your report has been registered sucessfully"
   end
@@ -43,7 +43,7 @@ class ReportDiaryEntryTest < ApplicationSystemTestCase
 
     choose I18n.t("reports.categories.DiaryEntry.spam")
     fill_in "report_details", :with => "This is advertising"
-    click_on "Save changes"
+    click_on "Create Report"
 
     issue.reload
     assert !issue.resolved?