summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/group_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb
index 0351dd671..3d7c2da26 100644
--- a/test/unit/group_test.rb
+++ b/test/unit/group_test.rb
@@ -31,8 +31,10 @@ class GroupTest < ActiveSupport::TestCase
include Redmine::I18n
def test_create
- g = Group.new(:lastname => 'New group')
+ g = Group.new(:name => 'New group')
assert g.save
+ g.reload
+ assert_equal 'New group', g.name
end
def test_blank_name_error_message