Sha256: 3b67837b6c156242f861b2febdb28bbdfb7de62ce2e8145fd80a1be6af64a14c
Contents?: true
Size: 454 Bytes
Versions: 110
Compression:
Stored size: 454 Bytes
Contents
require './test/test_helper' class SupportTest < Test::Unit::TestCase def test_command_response_succeeds assert Support.ok?('ok' => 1) assert Support.ok?('ok' => 1.0) assert Support.ok?('ok' => true) end def test_command_response_fails assert !Support.ok?('ok' => 0) assert !Support.ok?('ok' => 0.0) assert !Support.ok?('ok' => 0.0) assert !Support.ok?('ok' => 'str') assert !Support.ok?('ok' => false) end end
Version data entries
110 entries across 64 versions & 5 rubygems