Sha256: ff78b0724848e7a621fbb6796efc59ae17a34cfe2afd652b273005412b3d46cb
Contents?: true
Size: 712 Bytes
Versions: 3
Compression:
Stored size: 712 Bytes
Contents
shared_examples_for 'DocumentRow' do |valid_hash| it{ is_expected.to have_account_number( :account_number, valid_hash ) } it{ is_expected.to have_sized_string( :article_number, 50, valid_hash ) } it{ is_expected.to have_sized_string( :description, 50, valid_hash ) } it{ is_expected.to have_sized_float( :delivered_quantity, 0.0, 9_999_999_999_999.0, valid_hash ) } it{ is_expected.to have_sized_float( :price, 0.0, 99_999_999_999.0, valid_hash ) } it{ is_expected.to have_discount_type( :discount_type, valid_hash ) } it{ is_expected.to have_sized_integer( :house_work_hours_to_report, 0, 99_999, valid_hash ) } it{ is_expected.to have_house_work_type( :house_work_type, valid_hash ) } end
Version data entries
3 entries across 3 versions & 1 rubygems