Sha256: 9bdbe7d5350a7bd9dcd14b79781cdf93df4b64125b4ca95d9062733bb326d041

Contents?: true

Size: 251 Bytes

Versions: 11

Compression:

Stored size: 251 Bytes

Contents

require 'test/unit'
require 'bukkit'

class TestDownload < Test::Unit::TestCase
	def test_download
		Bukkit::Server.download("http://www.jessegrant.net/humans.txt")
		assert_equal(true, File.exists?("humans.txt"))
		FileUtils.rm("humans.txt")
	end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bukkit-2.4.2 test/test_download.rb
bukkit-2.4.0 test/test_download.rb
bukkit-2.3.2 test/test_download.rb
bukkit-2.3.1 test/test_download.rb
bukkit-2.3.0 test/test_download.rb
bukkit-2.2.0 test/test_download.rb
bukkit-2.1.3 test/test_download.rb
bukkit-2.1.2 test/test_download.rb
bukkit-2.1.1 test/test_download.rb
bukkit-2.1.0 test/test_download.rb
bukkit-2.0.0 test/test_download.rb