Sha256: 538219945e1e928fd1e1805c94cfaeab8bee0f14d58aa6aae0e76d8b9a899821
Contents?: true
Size: 541 Bytes
Versions: 24
Compression:
Stored size: 541 Bytes
Contents
describe Spotlight::AboutPage, type: :model do let(:page) { described_class.create! exhibit: FactoryBot.create(:exhibit) } it { is_expected.not_to be_feature_page } it { is_expected.to be_about_page } it 'displays the sidebar' do expect(page.display_sidebar?).to be_truthy end it 'forces the sidebar to display (we do not provide an interface for setting this to false)' do expect(page.display_sidebar?).to be_truthy page.display_sidebar = false page.save expect(page.display_sidebar?).to be_truthy end end
Version data entries
24 entries across 24 versions & 1 rubygems