Fixed filename typo.

This commit is contained in:
Martin Edenhofer 2016-06-18 19:57:04 +02:00
parent ee600cb630
commit cbcb3bee47
4 changed files with 7 additions and 7 deletions

View file

@ -97,7 +97,7 @@ returns
if admin_user.id == 1
if !user_data[:roles] && !user_data[:role_ids]
user_data[:roles] = Role.where(name: %w(Agent Admin))
user_data[:roles] = Role.where(name: %w(Agent Admin Chat))
end
if !user_data[:groups] && !user_data[:group_ids]
user_data[:groups] = Group.all

View file

@ -13,7 +13,7 @@ if [ "$LEVEL" == '1' ]; then
# test/browser/aab_basic_urls_test.rb
# test/browser/aab_unit_test.rb
# test/browser/aac_basic_richtext_test.rb
# test/browser/abb_one_group_test.rb
rm test/browser/abb_one_group_test.rb
rm test/browser/admin_channel_email_test.rb
rm test/browser/admin_object_manager_test.rb
rm test/browser/admin_overview_test.rb
@ -39,7 +39,7 @@ if [ "$LEVEL" == '1' ]; then
# test/browser/form_test.rb
rm test/browser/keyboard_shortcuts_test.rb
# test/browser/maintenance_test.rb
rm test/browser/prefereces_test.rb
rm test/browser/preferences_test.rb
rm test/browser/setting_test.rb
# test/browser/signup_password_change_and_reset_test.rb
# test/browser/swich_to_user_test.rb
@ -83,7 +83,7 @@ elif [ "$LEVEL" == '2' ]; then
rm test/browser/keyboard_shortcuts_test.rb
rm test/browser/maintenance_test.rb
rm test/browser/manage_test.rb
rm test/browser/prefereces_test.rb
rm test/browser/preferences_test.rb
rm test/browser/setting_test.rb
rm test/browser/signup_password_change_and_reset_test.rb
rm test/browser/switch_to_user_test.rb
@ -127,7 +127,7 @@ elif [ "$LEVEL" == '3' ]; then
rm test/browser/keyboard_shortcuts_test.rb
rm test/browser/maintenance_test.rb
rm test/browser/manage_test.rb
rm test/browser/prefereces_test.rb
rm test/browser/preferences_test.rb
rm test/browser/setting_test.rb
rm test/browser/signup_password_change_and_reset_test.rb
rm test/browser/switch_to_user_test.rb
@ -171,7 +171,7 @@ elif [ "$LEVEL" == '4' ]; then
rm test/browser/keyboard_shortcuts_test.rb
rm test/browser/maintenance_test.rb
rm test/browser/manage_test.rb
rm test/browser/prefereces_test.rb
rm test/browser/preferences_test.rb
rm test/browser/setting_test.rb
rm test/browser/signup_password_change_and_reset_test.rb
rm test/browser/switch_to_user_test.rb

View file

@ -46,7 +46,7 @@ class AutoWizardTest < ActiveSupport::TestCase
assert_equal(false, AutoWizard.enabled?)
# check first user roles
auto_wizard_data[:Users][0][:roles] = %w(Agent Admin)
auto_wizard_data[:Users][0][:roles] = %w(Agent Admin Chat)
auto_wizard_data[:Users].each {|local_user|
user = User.find_by(login: local_user[:login])