Add create a page feature
Generate Page model
Add Pages controller with index action
Add a working Add Page button
Put proper field names in quotes
Display a Page form
Let the create action save pages
Display success message when page is saved
Use expectations instead of should method
@page is a hash, not an object
Look for a title, not the content
Display a list of pages
Slugify page title
Find page by slug given in the URL
Expect title to show in the titlebar instead of body
Show existing page to the public
Test if show action raises relevant exception when page is not found
Validate presence of page title
Set an alert when page is invalid
Use new RSpec syntax