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.9.0.rc.1 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.8.4 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.8.3 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.7.2 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.6.4 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.8.2 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.8.1 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.6.3 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.8.0 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.7.1 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend-2.6.2 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend_devise_token_auth-2.8.0.alpha.14 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend_devise_token_auth-2.8.0.alpha.13 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend_devise_token_auth-2.8.0.alpha.12 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend_devise_token_auth-2.8.0.alpha.11 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend_devise_token_auth-2.8.0.alpha.10 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend_devise_token_auth-2.8.0.alpha.9 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend_devise_token_auth-2.8.0.alpha.8 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend_devise_token_auth-2.8.0.alpha.7 spec/helpers/taxon_filters_helper_spec.rb
solidus_frontend_devise_token_auth-2.8.0.alpha.6 spec/helpers/taxon_filters_helper_spec.rb