test/unit/domain_test.rb in sugoi-mail-0.1.0 vs test/unit/domain_test.rb in sugoi-mail-0.1.5
- old
+ new
@@ -111,18 +111,11 @@
assert u.save
assert_equal '826005bc4b82d02a3e6097556a45083375fe556c', u.password
end
-# def test_change_nothing
-# d = Domain.find_by_name "test.domain"
-# assert_equal 'e7ce1e2e20ec9f11ce8e86c9c47ab9911c1d221e', d.password
-# d.password = d.password_confirmation = nil
-# result = d.save
-# unless result == true
-# d.errors.each do |thing, string|
-# puts "#{thing}: #{string}"
-# end
-# end
-# assert result
-# end
+ def test_change_nothing
+ d = Domain.find_by_name "test.domain"
+ result = d.save
+ assert result
+ end
end