Sha256: e90c999842136e6133fe4eec359554c5cc38bd76231fbc7bf7ce8ff4d1338297
Contents?: true
Size: 797 Bytes
Versions: 1
Compression:
Stored size: 797 Bytes
Contents
require 'spec_helper' RSpec.describe OiApi::LookupTables do context 'data_fields' do it 'returns the correct array of hashes' do expect(OiApi::LookupTables.data_fields).to eql([ { first_name: '#{FN}'}, { last_name: '#{LN}'}, { email: '#{EM}'}, { street_address: '#{AD1}'}, { city: '#{CI}'}, { state: '#{ST}'}, { postal_code: '#{PO}'}, { country: '#{CO}'}, { home_phone: '#{HP}'}, { mobile_phone: '#{MP}'}, { gender: '#{G}'}, { date_of_birth: '#{DOB}'} ]) end it 'returns the OI name for a given data point' do expect(OiApi::LookupTables.data_field_oi_name(:first_name)).to eql('FN') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oi-api-ruby-0.1.5 | spec/oi_api/lookup_tables_spec.rb |