Sha256: 4b9b755cff7dda8ca0e194651c3119ac6bbe3424e4ae83ae7ece63a912c76532
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
require 'spec_helper' module Spotlight describe "shared/_footer", :type => :view do let(:current_exhibit) { double(title: "Some title", subtitle: "Subtitle") } it "should display social media links" do allow(view).to receive_messages(current_exhibit: current_exhibit) render expect(rendered).to have_selector('footer .social-share-button a.social-share-button-twitter[title="Twitter"]') expect(rendered).to have_selector('footer .social-share-button a.social-share-button-facebook[title="Facebook"]') expect(rendered).to have_selector('footer .social-share-button a.social-share-button-google_plus[title="Google+"]') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-0.2.0 | spec/views/shared/_footer.html.erb_spec.rb |