diff --git a/test/system/uploads_test.rb b/test/system/uploads_test.rb index 0006b67..1d6a863 100644 --- a/test/system/uploads_test.rb +++ b/test/system/uploads_test.rb @@ -6,7 +6,7 @@ class UploadsTest < ApplicationSystemTestCase click_on 'Upload a screenshot' attach_file 'file[]', Rails.root.join('test/fixtures/files/large-broken.png') click_on 'Start upload' - assert_text 'large-broken.png is not valid' + assert_text 'large-broken.png must be a valid' end # test "upload png screenshot anonymously and await moderation" do