Skip to content

Instantly share code, notes, and snippets.

@SpencerCooley
Created June 8, 2011 20:42
Show Gist options
  • Save SpencerCooley/1015354 to your computer and use it in GitHub Desktop.
Save SpencerCooley/1015354 to your computer and use it in GitHub Desktop.
test do test do
require 'test_helper'
class StoreControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
assert_select '#columns #side a', :minimum=> 4
assert_select '#main .entry', 3
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment