Sha256: 2289e43065297cc63f12139b1fe736c5465c33fa9cba8b853a051341f5d463aa

Contents?: true

Size: 275 Bytes

Versions: 60

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

RSpec.describe Blacklight::IconHelperBehavior do
  describe '#blacklight_icon' do
    it 'wraps the svg in a span with classes' do
      expect(helper.blacklight_icon(:search))
        .to have_css 'span.blacklight-icons svg'
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
blacklight-7.30.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.29.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.28.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.27.1 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.27.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.26.1 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.26.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.25.3 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.25.2 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.25.1 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.25.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.24.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.23.0.1 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.23.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.22.2 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.22.1 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.22.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.21.2 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.21.1 spec/helpers/blacklight/icon_helper_behavior_spec.rb
blacklight-7.21.0 spec/helpers/blacklight/icon_helper_behavior_spec.rb