Sha256: a9e1a542141b3e468932e115a14e1c78fe9dfb0a1b28f7e39f450e1c30fd036b

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'test_helper')
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'core_ext', 'nil_class')

class NilClassTest < Test::Unit::TestCase
  
  def test_yes
    assert(!nil.yes?)
  end
  
  def test_no
    assert(nil.no?)
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
talia_core-0.7.0 test/core_ext/nil_class_test.rb