Sha256: a4cb1d2b3bf8ac193645cae222c87e672f45f2210cd32ebf7e7579f15302b596

Contents?: true

Size: 763 Bytes

Versions: 3

Compression:

Stored size: 763 Bytes

Contents

describe Unidom::Certificate::China::BusinessLicense, type: :model do

  before :each do
  end

  after :each do
  end

  context do

    model_attributes = {
      registration_number:              '123456789012345',
      unified_social_credit_identifier: '123456789012345678',
      name:                             'Yeedar Inc.',
      address:                          '#305, Building #n, #n Some Street, Some City',
      legal_representative_name:        'YiDa',
      issuing_authority_name:           'Some City PS Department',
      validity_from_date:               Date.current-10.years,
      validity_thru_date:               Date.current+10.years
    }

    it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
unidom-certificate-china-1.5.2 lib/rspec/models/unidom/certificate/china/business_license_spec.rb
unidom-certificate-china-1.5.1 lib/rspec/models/unidom/certificate/china/business_license_spec.rb
unidom-certificate-china-1.5 lib/rspec/models/unidom/certificate/china/business_license_spec.rb