Sha256: 8647d61e3aa56bc7772caf80fcf26084fa4de75bdb6eff31ea2c1a6c8d231c80

Contents?: true

Size: 551 Bytes

Versions: 10

Compression:

Stored size: 551 Bytes

Contents

  #  _____         _
  # |_   _|__  ___| |_
  #   | |/ _ \/ __| __|
  #   | |  __/\__ \ |
  #   |_|\___||___/\__|
  #
  # for lib/facets/string/blank.rb
  #
  # Extracted Mon Sep 03 16:23:07 -0700 2007
  # w/ Test Extraction Ratchet
  #

 require 'facets/string/blank.rb'



  require 'test/unit'

  class TestStringBlank < Test::Unit::TestCase

    def test_blank?
      assert( ! "xyz".blank? )
      assert( "     ".blank? )
    end

    def test_whitespace?
      assert( ! "xyz".whitespace? )
      assert( "     ".whitespace? )
    end
  end



Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
facets-2.0.0 test/unit/string/test_blank.rb
facets-2.0.1 test/unit/string/test_blank.rb
facets-2.0.2 test/unit/string/test_blank.rb
facets-2.1.0 test/unit/string/test_blank.rb
facets-2.1.1 test/unit/string/test_blank.rb
facets-2.1.2 test/unit/string/test_blank.rb
facets-2.0.4 test/unit/string/test_blank.rb
facets-2.0.3 test/unit/string/test_blank.rb
facets-2.0.5 test/unit/string/test_blank.rb
facets-2.1.3 test/unit/string/test_blank.rb