Sha256: 8c75172332a8258bb4839ccd6f6a6418a6c9bb12978f1cccafe00e7fc934044c

Contents?: true

Size: 257 Bytes

Versions: 11

Compression:

Stored size: 257 Bytes

Contents

require 'test/unit'
require 'bukkit'

class TestUpdate < Test::Unit::TestCase
	def test_update_rb
		Bukkit::Server.update(:build => :rb)
		expected = File.exists?("craftbukkit.jar")
		assert_equal(expected, true)
		# FileUtils.rm("craftbukkit.jar")
	end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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