Sha256: e171616d6c87992bb35fe6d361c65012a5baf6deb8bb2b898d12387c328d4387

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

require 'helper'

class TestCsi < Test::Unit::TestCase
  should "find a NAICS classification for 1123" do
    assert_equal CSI::lookup_naics(1123), 'Poultry and Egg Production'
  end

  should "non find a NAICS classification for 0000" do
    assert_equal CSI::lookup_naics(0000), nil
  end

  should "not find a NAICS classification for nil" do
    assert_equal CSI::lookup_naics(nil), nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csi-0.1.0 test/test_csi.rb