added code to test bonus exercise with different descriptions.
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user