Sha256: 64efc9fa7bbbd93ec674cddd28381dc43bcdf1ba3c4c2989fd5dc5388fe83b24

Contents?: true

Size: 330 Bytes

Versions: 43

Compression:

Stored size: 330 Bytes

Contents

require 'spec_helper'

module Spree
  describe BaseHelper, type: :helper do
    # Regression test for https://github.com/spree/spree/issues/2759
    it "nested_taxons_path works with a Taxon object" do
      taxon = create(:taxon, name: "iphone")
      expect(spree.nested_taxons_path(taxon)).to eq("/t/iphone")
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
solidus_frontend-2.5.2 spec/helpers/base_helper_spec.rb
solidus_frontend-2.5.1 spec/helpers/base_helper_spec.rb
solidus_frontend-2.5.0 spec/helpers/base_helper_spec.rb
solidus_frontend-2.5.0.rc1 spec/helpers/base_helper_spec.rb
solidus_frontend-2.5.0.beta2 spec/helpers/base_helper_spec.rb
solidus_frontend-2.5.0.beta1 spec/helpers/base_helper_spec.rb
solidus_frontend-2.4.2 spec/helpers/base_helper_spec.rb
solidus_frontend-2.2.2 spec/helpers/base_helper_spec.rb
solidus_frontend-2.4.1 spec/helpers/base_helper_spec.rb
solidus_frontend-2.3.1 spec/helpers/base_helper_spec.rb
solidus_frontend-2.1.1 spec/helpers/base_helper_spec.rb
solidus_frontend-2.0.3 spec/helpers/base_helper_spec.rb
solidus_frontend-1.4.2 spec/helpers/base_helper_spec.rb
solidus_frontend-1.3.2 spec/helpers/base_helper_spec.rb
solidus_frontend-2.4.0 spec/helpers/base_helper_spec.rb
solidus_frontend-2.4.0.rc1 spec/helpers/base_helper_spec.rb
solidus_frontend-2.4.0.beta1 spec/helpers/base_helper_spec.rb
solidus_frontend-2.3.0 spec/helpers/base_helper_spec.rb
solidus_frontend-2.3.0.rc3 spec/helpers/base_helper_spec.rb
solidus_frontend-2.3.0.rc2 spec/helpers/base_helper_spec.rb