Skip to content

Commit

Permalink
ruby: Remove useless test
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanCoding committed Oct 8, 2024
1 parent 6a14f0c commit bb24db1
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ruby/test/vaas_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,22 +172,6 @@ def create(token = nil, timeout = nil)
vaas.close
end
end

specify 'upload_failed' do
vaas, token = create
message = {"url" => "https://gateway.staging.vaas.gdatasecurity.de/upload", "upload_token" => "invalid_token"}
Async do
random_text = (0...8).map { (65 + rand(26)).chr }.join
File.open("test.txt", "w") { |f| f.write(random_text) }

vaas.connect(token)
assert_raises VAAS::VaasUploadError do
vaas.upload(message, "./test.txt").wait
end
ensure
vaas.close
end
end
end
end
end

0 comments on commit bb24db1

Please sign in to comment.