diff --git a/app/logical/upload_service/utils.rb b/app/logical/upload_service/utils.rb index 1c4ce2b6a..08194d50b 100644 --- a/app/logical/upload_service/utils.rb +++ b/app/logical/upload_service/utils.rb @@ -222,8 +222,6 @@ class UploadService def download_for_upload(source, upload) file = download_from_source(source, referer_url: upload.referer_url) do |context| upload.downloaded_source = context[:downloaded_source] - puts "source: #{source} -> #{context[:source]}" - #upload.source = context[:source] if context[:ugoira] upload.context = { ugoira: context[:ugoira] } diff --git a/test/unit/artist_test.rb b/test/unit/artist_test.rb index 2f73b25b7..bd1b7ba51 100644 --- a/test/unit/artist_test.rb +++ b/test/unit/artist_test.rb @@ -168,7 +168,7 @@ class ArtistTest < ActiveSupport::TestCase should "not allow invalid urls" do artist = FactoryBot.create(:artist, :url_string => "blah") assert_equal(false, artist.valid?) - assert_equal(["blah must begin with http:// or https://"], artist.errors[:url]) + assert_equal([" blah must begin with http:// or https://"], artist.errors[:url]) end should "make sure old urls are deleted" do