Sha256: c103e8288f6b3c2d9273a34bf2a8e910ce339f95e9e46f170e0798049f6c039a

Contents?: true

Size: 444 Bytes

Versions: 7

Compression:

Stored size: 444 Bytes

Contents

require 'spec_helper'
require 'shared_examples/tnt_calculator'

describe Spree::Calculator::Shipping::TntMercurioANC do
  before do
    @anc = Spree::Calculator::Shipping::TntMercurioANC.new
  end

  it_behaves_like 'tnt calculator'

  it 'should have a description' do
    expect(@anc.description).to eq('TNT Mercúrio - Aéreo Nacional')
  end

  it 'should have a shipping method' do
    expect(@anc.shipping_method).to eq('ANC')
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_zaez_tnt_mercurio-3.0.7 spec/models/spree/calculator/shipping/tnt_mercurio_anc_spec.rb
spree_zaez_tnt_mercurio-3.0.6 spec/models/spree/calculator/shipping/tnt_mercurio_anc_spec.rb
spree_zaez_tnt_mercurio-3.0.5 spec/models/spree/calculator/shipping/tnt_mercurio_anc_spec.rb
spree_zaez_tnt_mercurio-3.0.4 spec/models/spree/calculator/shipping/tnt_mercurio_anc_spec.rb
spree_zaez_tnt_mercurio-3.0.3 spec/models/spree/calculator/shipping/tnt_mercurio_anc_spec.rb
spree_zaez_tnt_mercurio-3.0.2 spec/models/spree/calculator/shipping/tnt_mercurio_anc_spec.rb
spree_zaez_tnt_mercurio-3.0.1 spec/models/spree/calculator/shipping/tnt_mercurio_anc_spec.rb