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-0.11.2 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.11.1 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.11.0 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.10.5 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.10.4 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.10.3 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.10.2 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.10.1 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.10.0 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.9.0 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.8.4 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.8.3 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.8.2 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.8.1 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.8.0 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.7.1 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.7.0 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.6.7 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.6.6 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.6.5 spec/units/dugway/liquid/drops/country_drop_spec.rb