Sha256: b8a205290324f1011fad79ff3dcae61edd0f0d42e0eaf3d0ec82eb293c9f9aca

Contents?: true

Size: 636 Bytes

Versions: 1

Compression:

Stored size: 636 Bytes

Contents

require File.join(File.dirname(__FILE__), '../spec_helper')

describe FbGraph::Venue, '#new' do

  it 'should setup all supported attributes' do
    attributes = {
      :street => "409 Colorado St.",
      :city => "Austin",
      :state => "Texas",
      :country => "United States",
      :latitude => 30.2669,
      :longitude => -97.7428
    }
    venue = FbGraph::Venue.new(attributes)
    venue.street.should == "409 Colorado St."
    venue.city.should == "Austin"
    venue.state.should == "Texas"
    venue.country.should == "United States"
    venue.latitude.should == 30.2669
    venue.longitude.should == -97.7428
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fb_graph-0.0.8 spec/fb_graph/venue_spec.rb