diff options
author | Evelyn <evy_mcr@outlook.com> | 2015-09-21 22:56:31 -0500 |
---|---|---|
committer | Evelyn <evy_mcr@outlook.com> | 2015-09-21 22:56:31 -0500 |
commit | af140de5dd27b93b8cd58dd201fc4c0b1d5a23ec (patch) | |
tree | 20712278becbaa7bde1e06ec407f27d1f5c7679e /test/functional | |
parent | b9aae16edf42d8fed5bc4df15698a1eed1cc9e3d (diff) |
test users_controller_test
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/users_controller_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index 7d1745c..70f483e 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -158,6 +158,7 @@ class UsersControllerTest < ActionController::TestCase login :is_admin? => true + @request.env['HTTP_REFERER'] = 'http://test.com/sessions/new' post :deactivate, :id => user.id assert !assigns(:user).enabled? end |