Skip to content

Instantly share code, notes, and snippets.

@DCarper
Created June 6, 2011 15:02
Show Gist options
  • Select an option

  • Save DCarper/1010415 to your computer and use it in GitHub Desktop.

Select an option

Save DCarper/1010415 to your computer and use it in GitHub Desktop.
class BracketsController < ApplicationController
def index
yar!
end
end
describe BracketsController do
describe "#index" do
it "should render the index template" do
get :index
response.should render_template(:index)
end
end
end
map.resources :brackets, :as => 'guessing_game'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment