Sha256: eca728559d36d65c8ce4a0f7eb72eae3d98a11aeed0c97de86148e4a2480e85e

Contents?: true

Size: 416 Bytes

Versions: 14

Compression:

Stored size: 416 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')

describe StorageRoom::Location do
  before(:each) do
    @location = StorageRoom::Location.new(:lat => 1, :lng => 2)
  end
  
  context "Configuration" do
    it "should have keys" do
      keys = StorageRoom::Location.attribute_options.keys
      
      [:lat, :lng].each do |key|
        keys.should include(key)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
storage_room-0.3.13 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.12 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.11 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.10 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.9 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.8 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.7 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.6 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.5 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.4 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.3 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.2 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.1 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.0 spec/storage_room/embeddeds/location_spec.rb