spec/models/spotlight/page_spec.rb in blacklight-spotlight-3.2.0 vs spec/models/spotlight/page_spec.rb in blacklight-spotlight-3.3.0
- old
+ new
@@ -128,10 +128,10 @@
it 'is updated when the title changes' do
page.update(title: 'abc')
expect(page.slug).to eq 'abc'
end
- it 'blacklists contacts' do
+ it 'reserves the slug "contacts"' do
page.update(title: 'contacts')
expect(page.slug).not_to eq 'contacts'
end
context 'with a custom slug' do