Commit e4d63410e8d66a4243c6d940569a8c667bbefad6
1 parent
fcce6c0f
Exists in
master
and in
28 other branches
ActionItem78: removing uneeded test.
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@631 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
10 deletions
Show diff stats
test/unit/change_password_test.rb
... | ... | @@ -2,6 +2,8 @@ require File.dirname(__FILE__) + '/../test_helper' |
2 | 2 | |
3 | 3 | class ChangePasswordTest < Test::Unit::TestCase |
4 | 4 | |
5 | + fixtures :environments | |
6 | + | |
5 | 7 | should 'validate' do |
6 | 8 | data = ChangePassword.new |
7 | 9 | assert !data.valid? |
... | ... | @@ -52,16 +54,6 @@ class ChangePasswordTest < Test::Unit::TestCase |
52 | 54 | assert !data.errors.invalid?(:email) |
53 | 55 | end |
54 | 56 | |
55 | - should 'send a message with a URL so the user can enter the new password' do | |
56 | - User.destroy_all | |
57 | - User.create!(:login => 'testuser', :password => 'test', :password_confirmation => 'test', :email => 'test@example.com') | |
58 | - | |
59 | - data = ChangePassword.new | |
60 | - data.login = 'testuser' | |
61 | - data.email = 'test@example.com' | |
62 | - data.save! | |
63 | - end | |
64 | - | |
65 | 57 | should 'actually change password' do |
66 | 58 | User.destroy_all |
67 | 59 | User.create!(:login => 'testuser', :password => 'test', :password_confirmation => 'test', :email => 'test@example.com') | ... | ... |