From b39f9f96345deee889a1635b882870fbd541d15d Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 7 Feb 2021 16:50:17 +0100 Subject: [PATCH] Test fixed. Was using wrong string. --- test/system/uploads_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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