fixed unit tests

This commit is contained in:
albert
2011-07-16 20:21:28 -04:00
parent 469ae14805
commit 04ab2f4701
2 changed files with 11 additions and 11 deletions

View File

@@ -3,12 +3,12 @@ module Moderator
def user_level_select_tag(name, options = {})
choices = [
["", ""],
["Member", 0],
["Privileged", 100],
["Contributor", 200],
["Janitor", 300],
["Moderator", 400],
["Admin", 500]
["Member", 20],
["Privileged", 30],
["Contributor", 33],
["Janitor", 35],
["Moderator", 40],
["Admin", 50]
]
select_tag(name, options_for_select(choices, params[name].to_i), options)