Sha256: 5fa00f56586615c7a01330918b0827fc5e0c0aefc3c2a0b424852abfb6e11dce

Contents?: true

Size: 654 Bytes

Versions: 1

Compression:

Stored size: 654 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

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oi-api-ruby-0.1.4 spec/oi_api/lookup_tables_spec.rb