Sha256: aa0a179160fdd3f7972efadbaeb90e650110607d3beaee2595989a50eee02760

Contents?: true

Size: 381 Bytes

Versions: 49

Compression:

Stored size: 381 Bytes

Contents

describe 'shared/_footer', type: :view do
  let(:current_exhibit) { double(title: 'Some title', subtitle: 'Subtitle') }

  before do
    allow(view).to receive_messages(current_exhibit: current_exhibit)
  end

  it 'includes analytics reporting' do
    stub_template 'shared/_analytics.html.erb' => 'analytics'
    render
    expect(rendered).to have_content 'analytics'
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

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