Sha256: c0a8b40b9747cf75b27c175d8c085730aa1b39807147979e524b24392a882581

Contents?: true

Size: 439 Bytes

Versions: 11

Compression:

Stored size: 439 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_including_superclasses.keys
      
      [:lat, :lng].each do |key|
        keys.should include(key)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
storage_room-0.3.24 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.23 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.22 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.21 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.20 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.19 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.18 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.17 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.16 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.15 spec/storage_room/embeddeds/location_spec.rb
storage_room-0.3.14 spec/storage_room/embeddeds/location_spec.rb