Sha256: 43c12a4894aa8aab9e2787fd9ada9dce19211f42e787359d5a4fdac8d41f52b7
Contents?: true
Size: 710 Bytes
Versions: 11
Compression:
Stored size: 710 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper.rb' class TestSsnHighGroupCodeLoader < Test::Unit::TestCase def setup setup_high_group_codes_table end def test_should_load_table_with_current_file assert_equal(0,SsnHighGroupCode.count) SsnHighGroupCodeLoader.load_current_high_group_codes_file assert SsnHighGroupCode.count > 0 end def test_should_not_load_table_if_as_of_already_in_table SsnHighGroupCodeLoader.load_current_high_group_codes_file assert SsnHighGroupCode.count > 0 record_count = SsnHighGroupCode.count SsnHighGroupCodeLoader.load_current_high_group_codes_file assert_equal(record_count, SsnHighGroupCode.count) end end
Version data entries
11 entries across 11 versions & 2 rubygems