Sha256: baa634a85204cdba0006607f5aec3464c219fa9f3e23cc9ceabd74d6d2e5d4e8

Contents?: true

Size: 250 Bytes

Versions: 33

Compression:

Stored size: 250 Bytes

Contents

describe Spotlight::CropHelper do
  describe '#form_prefix' do
    let(:form) { double(object_name: 'Spotlight::Exhibit') }

    it 'parameterizes the form object' do
      expect(helper.form_prefix(form)).to eq 'spotlight_exhibit'
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
blacklight-spotlight-2.4.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.4.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.3.3 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.3.2 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.3.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.3.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.2.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.2.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.1.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.0.2 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.0.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.0.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.0.0.rc6 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.0.0.rc5 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.0.0.rc4 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.0.0.rc3 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.0.0.rc2 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.0.0.rc1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-1.5.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-1.4.1 spec/helpers/spotlight/crop_helper_spec.rb