Test fixed. Was using wrong string.
This commit is contained in:
parent
ac13cf10c0
commit
b39f9f9634
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class UploadsTest < ApplicationSystemTestCase
|
||||||
click_on 'Upload a screenshot'
|
click_on 'Upload a screenshot'
|
||||||
attach_file 'file[]', Rails.root.join('test/fixtures/files/large-broken.png')
|
attach_file 'file[]', Rails.root.join('test/fixtures/files/large-broken.png')
|
||||||
click_on 'Start upload'
|
click_on 'Start upload'
|
||||||
assert_text 'large-broken.png is not valid'
|
assert_text 'large-broken.png must be a valid'
|
||||||
end
|
end
|
||||||
|
|
||||||
# test "upload png screenshot anonymously and await moderation" do
|
# test "upload png screenshot anonymously and await moderation" do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue