Sha256: e3bda52f03379e00603a97adf04d0993293f5d1b1a7756eac7a8bee0435a9b17
Contents?: true
Size: 640 Bytes
Versions: 32
Compression:
Stored size: 640 Bytes
Contents
require File.join(File.dirname(__FILE__), '../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
32 entries across 32 versions & 1 rubygems