Skip to content

Instantly share code, notes, and snippets.

@taylorbrooks
Created July 30, 2010 15:27
Show Gist options
  • Save taylorbrooks/500715 to your computer and use it in GitHub Desktop.
Save taylorbrooks/500715 to your computer and use it in GitHub Desktop.
require 'spec_helper'
describe PagesController do
render_views
describe "GET 'home'" do
it "should be successful" do
get 'home'
response.should be_success
end
end
describe "GET 'contact'" do
it "should be successful" do
get 'contact'
response.should be_success
end
end
describe "GET 'about'" do
it "should be successful" do
get 'about'
response.should be_success
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment