Sha256: 7e35557e77e8464c368d4501eea183d70d04d9bc28181a529543d2e6ae410888

Contents?: true

Size: 850 Bytes

Versions: 3

Compression:

Stored size: 850 Bytes

Contents

describe Unidom::Party::China::MaritalStatus, type: :type do

  before :each do
  end

  after :each do
  end

  it_behaves_like 'ProgneTapera::EnumConfig', 8, [
    { code: '10', name: 'unmarried',                   localized_name: '未婚' },
    { code: '20', name: 'married',                     localized_name: '已婚' },
    { code: '21', name: 'first_marriage',              localized_name: '初婚' },
    { code: '22', name: 'remarriage',                  localized_name: '再婚' },
    { code: '23', name: 'former_marriage_restoration', localized_name: '复婚' },
    { code: '30', name: 'widowed',                     localized_name: '丧偶' },
    { code: '40', name: 'divorce',                     localized_name: '离婚' },
    { code: '90', name: 'unspecified',                 localized_name: '未说明的婚姻状况' } ]

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
unidom-party-china-1.0 lib/rspec/types/unidom/party/china/marital_status_spec.rb
unidom-party-china-0.8.1 lib/rspec/types/unidom/party/china/marital_status_spec.rb
unidom-party-china-0.8 lib/rspec/types/unidom/party/china/marital_status_spec.rb