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.0.0.alpha.4 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.3 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.2 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-3.0.0.alpha.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.13.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.12.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.12.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.11.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.10.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.9.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.8.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.7.2 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.7.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.7.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.6.1.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.6.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.6.0 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.5.2 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.5.1 spec/helpers/spotlight/crop_helper_spec.rb
blacklight-spotlight-2.5.0 spec/helpers/spotlight/crop_helper_spec.rb