Skip to content

Instantly share code, notes, and snippets.

@cnocon
Last active December 21, 2015 16:29
Show Gist options
  • Save cnocon/6333881 to your computer and use it in GitHub Desktop.
Save cnocon/6333881 to your computer and use it in GitHub Desktop.
Static "Contact" page from my RecipeApp that failed an RSpec test checking for the content "Contact"
<% provide(:title, 'Contact') %>
<!DOCTYPE html>
<html>
<head>
<title>RecipeApp | <%= yield(:title) %></title>
</head>
<body>
<h1><%= yield(:title) %></h1>
<p>Contents</p>
</body>
</html>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment