Sha256: e6da5cbe0a328d5c2a2acb243b8a48b5ec9b54f330eb9c4f13a07f7384cfd940
Contents?: true
Size: 300 Bytes
Versions: 3
Compression:
Stored size: 300 Bytes
Contents
require 'spec_helper' RSpec.describe Spree::Taxonomy, type: :model do describe '#filter_name' do let(:taxonomy) { create(:taxonomy, name: 'awesome_category') } it 'respond with taxonomy name downcased' do expect(taxonomy.filter_name).to eq('awesome_category_ids') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solidus_searchkick-0.1.2 | spec/models/spree/taxonomy_spec.rb |
solidus_searchkick-0.1.1 | spec/models/spree/taxonomy_spec.rb |
solidus_searchkick-0.1.0 | spec/models/spree/taxonomy_spec.rb |