Gemify and upgrade to shoulda-2.11.3, remove dr_nic_magic_models

This commit is contained in:
2013-07-12 15:54:20 -04:00
parent 8058096f7e
commit 796c1a279e
226 changed files with 56 additions and 12509 deletions

View File

@@ -28,15 +28,15 @@ class UsersControllerTest < ActionController::TestCase
context "on get to :dashboard" do
setup { get :dashboard }
should_respond_with :success
should_render_template "dashboard"
should respond_with :success
should render_template "dashboard"
end
context "on post to :logout" do
setup { get :logout }
should_respond_with :redirect
should_redirect_to('the main page') { index_url }
should respond_with :redirect
should redirect_to('the main page') { index_url }
should "log out" do
assert_nil session[:user_id]