summaryrefslogtreecommitdiffstats
path: root/test/unit/group_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-21 08:05:59 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-21 08:05:59 +0000
commit9cc3542fa1277b190a006323a77e22bd7474371c (patch)
treee52ff576fb4335eb565227a3109dee3cdbfc54b4 /test/unit/group_test.rb
parent643b4ebb088ce5ed57b6cc959677627a660004cc (diff)
downloadredmine-9cc3542fa1277b190a006323a77e22bd7474371c.tar.gz
redmine-9cc3542fa1277b190a006323a77e22bd7474371c.zip
Introduce `active?` method to Group via Principal model (#27510).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22976 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/group_test.rb')
-rw-r--r--test/unit/group_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb
index 0e5288f1b..59923927c 100644
--- a/test/unit/group_test.rb
+++ b/test/unit/group_test.rb
@@ -38,6 +38,7 @@ class GroupTest < ActiveSupport::TestCase
assert g.save
g.reload
assert_equal 'New group', g.name
+ assert_equal true, g.active?
end
def test_name_should_accept_255_characters