summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-10-01 06:41:04 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-10-01 06:41:04 +0000
commitb04f44f9442afc107ad67047d873a67a638d43e6 (patch)
treeeff08e61f7e5c9d9bdbec996d1730cddb41fe3c6 /test/unit/user_test.rb
parentb49abf0c226c79b88cbb3a67d7563e4f1701aba7 (diff)
downloadredmine-b04f44f9442afc107ad67047d873a67a638d43e6.tar.gz
redmine-b04f44f9442afc107ad67047d873a67a638d43e6.zip
fix 'object_daddy creation' test name at unit user test
Redmine dropped object_daddy at r9469 for Rails3 porting. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10539 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index 7b4dac725..75b8f7d78 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -34,7 +34,7 @@ class UserTest < ActiveSupport::TestCase
@dlopper = User.find(3)
end
- test 'object_daddy creation' do
+ def test_generate
User.generate!(:firstname => 'Testing connection')
User.generate!(:firstname => 'Testing connection')
assert_equal 2, User.count(:all, :conditions => {:firstname => 'Testing connection'})