Sha256: 7d79d97dddd27f62e08a9653b7400d99f334a247d2a3bc762d566fcbd6b95a72
Contents?: true
Size: 629 Bytes
Versions: 11
Compression:
Stored size: 629 Bytes
Contents
require 'spec_helper' describe Seko::Company do before do Seko.configure(configuration) end describe '.format' do it 'formats a simple company hash into a fully formed JSON ready hash' do expected_result = fixture(:company_submit) expect(Seko::Company.format(company_submit_hash)).to eq(expected_result) end end describe '.address' do it 'formats a simple address hash into a fully formed JSON ready hash' do expected_result = fixture(:company_submit)["Request"]["List"]["Address"] expect(Seko::Company.address(company_address_hash)).to eq(expected_result) end end end
Version data entries
11 entries across 11 versions & 1 rubygems