Sha256: 4612dc5405c184f9cc80e4765f0de3fccd4cf50bcdf4f2594d3c46c96809e2ec

Contents?: true

Size: 443 Bytes

Versions: 18

Compression:

Stored size: 443 Bytes

Contents

describe 'catalog/_thumbnail_list_collection.html.erb', type: :view do
  before do
    stub_template 'catalog/_thumbnail_list_collection.html.erb' => '<div class="col-sm-3"><span class="fa fa-cubes collection-icon-search"></span></div>'
    render
  end

  it 'displays the collection icon in the search results' do
    expect(rendered).to match '<div class="col-sm-3"><span class="fa fa-cubes collection-icon-search"></span></div>'
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
hyrax-1.1.1 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
hyrax-1.1.0 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
sufia-7.4.1 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
hyrax-1.0.5 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
sufia-7.4.0 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
hyrax-1.0.4 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
hyrax-1.0.3 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
hyrax-1.0.2 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
hyrax-1.0.1 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
hyrax-1.0.0.rc2 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
sufia-7.3.1 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
hyrax-1.0.0.rc1 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
sufia-7.3.0 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
sufia-7.3.0.rc3 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
sufia-7.3.0.rc2 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
sufia-7.3.0.rc1 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
test_hyrax-0.0.1.alpha spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb
sufia-7.2.0 spec/views/catalog/_thumbnail_list_collection.html.erb_spec.rb