Sha256: 039e9240001d92ab49cb924e9e6c48cf0f04810de058a0ba975e0e53c3581c86

Contents?: true

Size: 578 Bytes

Versions: 1

Compression:

Stored size: 578 Bytes

Contents

require 'test_helper'

class Ccls::AliquotSampleFormatTest < ActiveSupport::TestCase

	assert_should_behave_like_a_hash

	assert_should_create_default_object
	assert_should_not_require_attributes(:position)
	assert_should_act_as_list
	assert_should_have_many( :aliquots, :samples )

	test "explicit Factory aliquot_sample_format test" do
		assert_difference('AliquotSampleFormat.count',1) {
			aliquot_sample_format = Factory(:aliquot_sample_format)
			assert_match /Key\d*/,  aliquot_sample_format.key
			assert_match /Desc\d*/, aliquot_sample_format.description
		}
	end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ccls-ccls_engine-3.11.0 test/unit/ccls/aliquot_sample_format_test.rb