Sha256: dcc0489de531d44fe0b4af10be689d40c22cb8f301de9d456353a1ceae810787

Contents?: true

Size: 382 Bytes

Versions: 50

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper'

describe Dugway::Drops::CountryDrop do
  let(:country) { Dugway::Drops::CountryDrop.new(Dugway.store.country) }

  describe "#name" do
    it "should return the country's name" do
      country.name.should == 'United States'
    end
  end

  describe "#code" do
    it "should return the country's code" do
      country.code.should == 'US'
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
dugway-1.0.14 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.13 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.12 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.10 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.9 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.8 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.7 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.6 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.5 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.4 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.3 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.2 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.1 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-1.0.0 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.12.3 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.12.2 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.12.1 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.12.0 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.11.4 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.11.3 spec/units/dugway/liquid/drops/country_drop_spec.rb