Test fixed. Was using wrong string.

This commit is contained in:
Christoph Haas 2021-02-07 16:50:17 +01:00
parent ac13cf10c0
commit b39f9f9634

View file

@ -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