Sha256: 3c3b191022d0383e66a4b60860455901d8c3330965c76d3eb825d2d57e09e4e5
Contents?: true
Size: 406 Bytes
Versions: 14
Compression:
Stored size: 406 Bytes
Contents
# frozen_string_literal: true RSpec.describe Blacklight::IconHelperBehavior do describe '#blacklight_icon' do subject(:icon) { helper.blacklight_icon(:search, classes: 'custom-class') } it 'returns the svg' do expect(icon).to have_css '.blacklight-icons svg' end it 'adds classes to the wrappering element' do expect(icon).to have_css '.custom-class svg' end end end
Version data entries
14 entries across 14 versions & 2 rubygems