Sha256: ef5beb49562980e78a98018ef06201be9f143c7f3c4e54b74bc6e3ed94e29071

Contents?: true

Size: 320 Bytes

Versions: 5

Compression:

Stored size: 320 Bytes

Contents

require 'minitest/autorun'
require 'qnap/file_station'
require 'qnap/api_error'

class TestFileStation < Minitest::Test
	def test_argument
		assert_raises ArgumentError do
			Qnap::FileStation.new
		end
	end

	def test_error_code_integrity
		assert_equal (0..46).to_a, Qnap::ApiError::STATUS_CODES.map(&:first)
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qnap-file_station-0.0.6 test/test_file_station.rb
qnap-file_station-0.0.5 test/test_file_station.rb
qnap-file_station-0.0.4 test/test_file_station.rb
qnap-file_station-0.0.3 test/test_file_station.rb
qnap-file_station-0.0.2 test/test_file_station.rb