Sha256: 549ea3a3c91831308c152b57c98dd2e77b3d2aad0135cedd151a8cda302bceab
Contents?: true
Size: 671 Bytes
Versions: 4
Compression:
Stored size: 671 Bytes
Contents
require "spec_helper" describe "Search Facets Administration", :type => :feature do let(:exhibit) { FactoryGirl.create(:exhibit) } let(:exhibit_curator) { FactoryGirl.create(:exhibit_curator, exhibit: exhibit) } before { login_as exhibit_curator } describe "edit" do it "should display the facet edit screen" do visit spotlight.exhibit_edit_facets_path(exhibit) expect(page).to have_css("h1 small", text: "Search Facets") within("[data-id='genre_ssim']") do expect(page).to have_content("Genre") expect(page).to have_content(/\d+ items/) expect(page).to have_content("10 unique values") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems