Sha256: 32cd5d12459ba183b786947f7203af279776488c4539416c854c9cc9e8428b93

Contents?: true

Size: 281 Bytes

Versions: 40

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true

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

40 entries across 40 versions & 1 rubygems

Version Path
blacklight-spotlight-3.4.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.3.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.2.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.1.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.3 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.2 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.rc6 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.rc5 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.rc4 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.rc3 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.rc2 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.rc1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.10 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.9 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.8 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.7 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.6 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.5 spec/helpers/spotlight/crop_helper_spec.rb