summaryrefslogtreecommitdiff
path: root/users/test
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-07 14:32:25 +0100
committerAzul <azul@leap.se>2012-12-07 14:32:25 +0100
commitbfe61e5132b379461425ce868e980e3a1ea0260a (patch)
tree4df73c0a0f37ee9f16cd3f15fc2d23f458ca09ba /users/test
parent7273dab05b68f033de26bb68cca4b72c17b9908a (diff)
fixed test to work with edit view that includes email and email forward.
Diffstat (limited to 'users/test')
-rw-r--r--users/test/functional/users_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/functional/users_controller_test.rb b/users/test/functional/users_controller_test.rb
index 939d105..1840a72 100644
--- a/users/test/functional/users_controller_test.rb
+++ b/users/test/functional/users_controller_test.rb
@@ -35,7 +35,7 @@ class UsersControllerTest < ActionController::TestCase
end
test "should get edit view" do
- user = find_record User
+ user = find_record User, :email => nil, :email_forward => nil
login user
get :edit, :id => user.id