Sha256: 9204b5b1489b13fe708dac5c392c9c7e9497c4783947db0f681351b52b9070d2

Contents?: true

Size: 305 Bytes

Versions: 48

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Spree::TaxonFiltersHelper, type: :helper do
  let(:taxon) { nil }
  subject { applicable_filters_for(taxon) }

  it "returns the price/brand filters" do
    expect(subject.map { |y| y[:name] }).to eq ['Brands', 'Price Range']
  end
end

Version data entries

48 entries across 48 versions & 3 rubygems

Version Path
solidus_frontend-2.10.5 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.10.3 spec/helpers/taxon_filters_helper_spec.rb
solidus_starter_frontend-0.1.0 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.10.2 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.9.6 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.8.6 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.10.1 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.9.5 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.10.0 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.9.4 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.6.6 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.7.4 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.8.5 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.9.3 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.9.2 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.10.0.beta1 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.7.3 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.6.5 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.9.1 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.9.0 spec/helpers/taxon_filters_helper_spec.rb