]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/account_pd_declaration_test.rb
Add confirm button to pd declaration page
[rails.git] / test / system / account_pd_declaration_test.rb
index 9471c28c16af02cc3c36ee08a06bcdf536590b78..22867c795198fd5718895bb7ff602eddd9adf397 100644 (file)
@@ -11,6 +11,7 @@ class AccountPdDeclarationTest < ApplicationSystemTestCase
 
     within_content_body do
       assert_unchecked_field "I consider my contributions to be in the Public Domain"
+      assert_button "Confirm"
     end
   end
 
@@ -21,6 +22,7 @@ class AccountPdDeclarationTest < ApplicationSystemTestCase
 
     within_content_body do
       assert_checked_field "I consider my contributions to be in the Public Domain", :disabled => true
+      assert_button "Confirm", :disabled => true
     end
   end
 end