Sha256: cba94b49123e6e9a3d23892609d6bc360da9209e776c9c88af29c25fcc47c3dd

Contents?: true

Size: 263 Bytes

Versions: 7

Compression:

Stored size: 263 Bytes

Contents

require 'spec_helper'

describe 'catalog/_results_pagination.html.erb', type: :view do
  it 'will have a #pagination wrapping div' do
    allow(view).to receive_messages(show_pagination?: false)
    render
    expect(rendered).to have_css '#pagination'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
geoblacklight-2.4.0 spec/views/catalog/_results_pagination.html.erb_spec.rb
geoblacklight-2.3.0 spec/views/catalog/_results_pagination.html.erb_spec.rb
geoblacklight-2.2.1 spec/views/catalog/_results_pagination.html.erb_spec.rb
geoblacklight-2.2.0 spec/views/catalog/_results_pagination.html.erb_spec.rb
geoblacklight-2.1.2 spec/views/catalog/_results_pagination.html.erb_spec.rb
geoblacklight-2.1.1 spec/views/catalog/_results_pagination.html.erb_spec.rb
geoblacklight-2.1.0 spec/views/catalog/_results_pagination.html.erb_spec.rb