Sha256: 0354ba21865fd40ffd1746ee6e9cea0519479f8778aa856085539f9be805e5a5
Contents?: true
Size: 738 Bytes
Versions: 1
Compression:
Stored size: 738 Bytes
Contents
require "spec_helper" describe "Catalog", :type => :feature do let(:exhibit) { FactoryGirl.create(:exhibit) } let(:curator) { FactoryGirl.create(:exhibit_curator, exhibit: exhibit) } before { login_as curator } describe "admin" do before do d = SolrDocument.new(id: 'dq287tq6352') d.make_private! exhibit d.reindex Blacklight.solr.commit end after do d = SolrDocument.new(id: 'dq287tq6352') d.make_public! exhibit d.reindex Blacklight.solr.commit end it "should have a 'Item Visiblity' facet" do visit spotlight.exhibit_catalog_index_path(exhibit) expect(page).to have_selector '.panel-title', text: "Item Visibility" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-0.2.0 | spec/features/catalog_spec.rb |