Skip to content

Instantly share code, notes, and snippets.

@nathanhumbert
Created September 20, 2010 05:57
Show Gist options
  • Save nathanhumbert/587478 to your computer and use it in GitHub Desktop.
Save nathanhumbert/587478 to your computer and use it in GitHub Desktop.
should "create user" do
assert_difference('User.count') do
post :create, :user => {:username => "foo"}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment