Skip to content

Instantly share code, notes, and snippets.

@nachocab
Created February 18, 2009 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nachocab/66439 to your computer and use it in GitHub Desktop.
Save nachocab/66439 to your computer and use it in GitHub Desktop.
require 'test_helper'
class OrdersControllerTest < ActionController::TestCase
context "responding to GET /orders/new" do
should "succeed" do
get :new
assert_response :success
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment