Sha256: cbee0aac2bdb11412679a7e5cde7854dbb6b67abf0ef31906fe5d6d66259f7e7

Contents?: true

Size: 299 Bytes

Versions: 9

Compression:

Stored size: 299 Bytes

Contents

require 'spec_helper'

module Spree
  describe BaseHelper, :type => :helper do
    # Regression test for #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

9 entries across 9 versions & 1 rubygems

Version Path
solidus_frontend-1.1.4 spec/helpers/base_helper_spec.rb
solidus_frontend-1.0.7 spec/helpers/base_helper_spec.rb
solidus_frontend-1.0.6 spec/helpers/base_helper_spec.rb
solidus_frontend-1.1.3 spec/helpers/base_helper_spec.rb
solidus_frontend-1.0.5 spec/helpers/base_helper_spec.rb
solidus_frontend-1.0.4 spec/helpers/base_helper_spec.rb
solidus_frontend-1.1.2 spec/helpers/base_helper_spec.rb
solidus_frontend-1.0.3 spec/helpers/base_helper_spec.rb
solidus_frontend-1.1.1 spec/helpers/base_helper_spec.rb