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.6.4 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.6.3 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.6.2 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.6.1 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.6.0 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.5.9 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.5.8 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.5.7 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.5.6 spec/units/dugway/liquid/drops/country_drop_spec.rb
dugway-0.5.4 spec/units/dugway/liquid/drops/country_drop_spec.rb