Sha256: c01ad107221403348a3967730caad83140fbe69f71e00504a1d5fb6407e55b0f
Contents?: true
Size: 602 Bytes
Versions: 109
Compression:
Stored size: 602 Bytes
Contents
require 'spec_helper' describe FbGraph::Location, '.new' do it 'should setup all supported attributes' do attributes = { :latitude => 30.2669, :longitude => -97.7428 } location = FbGraph::Location.new(attributes) location.latitude.should == 30.2669 location.longitude.should == -97.7428 end end describe FbGraph::Location, '.to_hash' do it 'should setup all supported attributes' do attributes = { :latitude => 30.2669, :longitude => -97.7428 } location = FbGraph::Location.new(attributes) location.to_hash == attributes end end
Version data entries
109 entries across 109 versions & 1 rubygems