Sha256: e21a171381d699ced35db80dea75f24280b744ca5de381cf186a26c88eec4fea

Contents?: true

Size: 330 Bytes

Versions: 15

Compression:

Stored size: 330 Bytes

Contents

require 'spec_helper'

RSpec.describe Blacklight::HierarchyHelper do
  describe '#facet_toggle_button' do
    subject { helper.facet_toggle_button(field_name, described_by, 'randomtext123') }
    let(:field_name) { 'exploded_tag_ssim' }
    let(:described_by) { 'unique-string' }

    it { is_expected.to be_html_safe }
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
blacklight-hierarchy-6.4.0 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.3.0 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.2.2 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.2.1 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.2.0 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.1.2 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.1.1 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.1.0 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.0.2 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.0.1 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-6.0.0 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-5.4.0 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-5.3.0 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-5.2.0 spec/helpers/hierarchy_helper_spec.rb
blacklight-hierarchy-5.1.0 spec/helpers/hierarchy_helper_spec.rb