Sha256: cb2414ff785656c79c20455c1ffd0d8905fe402742dae58bcb30bb411b45521d

Contents?: true

Size: 376 Bytes

Versions: 16

Compression:

Stored size: 376 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
describe GeocoderResponse do
  #before(:each) do
  #    @geocoder_response = Geocoder.new
  #end
  it "should initialize multiple objects form array" do
    array = [1,2,3]
    array.size.times do
      GeocoderResponse.should_receive(:from_hash)
    end
    GeocoderResponse.from_array(array)
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
threetaps-client-1.0.14 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.13 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.12 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.11 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.10 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.9 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.8 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.7 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.6 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.5 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.4 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.3 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.2 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.1 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-1.0.0 spec/dto/geocoder/geocoder_response_spec.rb
threetaps-client-0.5.1 spec/dto/geocoder/geocoder_response_spec.rb