Sha256: 5ea2884f2b301721ae6745650c44d264ad8acbe7a324301d90be21ebc573f370

Contents?: true

Size: 706 Bytes

Versions: 3

Compression:

Stored size: 706 Bytes

Contents

require 'spec_helper'

describe Ratis::LocationTypeAheadItem do
  let(:item){ Ratis::LocationTypeAheadItem.new(name: '1315 W STRAFORD DR',
                                               area: 'Chandler',
                                               areacode: 'CH',
                                               postcode: '85224',
                                               type: 'N') }

  describe '#initialize' do
    it "should correct assign instance variables" do
      expect(item.name).to eq('1315 W STRAFORD DR')
      expect(item.area).to eq('Chandler')
      expect(item.areacode).to eq('CH')
      expect(item.postcode).to eq('85224')
      expect(item.type).to eq('N')
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ratis-3.4.3 spec/ratis/location_type_ahead_item_spec.rb
ratis-3.4.2 spec/ratis/location_type_ahead_item_spec.rb
ratis-3.4.1 spec/ratis/location_type_ahead_item_spec.rb