added code to test bonus exercise with different descriptions.

This commit is contained in:
Thomas Hille
2017-03-30 16:54:16 +02:00
parent d4a9df709a
commit ad29551bb4
2 changed files with 31 additions and 1 deletions

View File

@ -24,4 +24,17 @@ class UserGroupSeparator
end
end
def self.getGroupWeek2Testing(user)
groupById = user.id % 4
if groupById == 0
:group_a
elsif groupById == 1
:group_b
elsif groupById == 2
:group_c
else # 3
:group_d
end
end
end