diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index d2e7cee62..f71dfbe43 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -675,26 +675,26 @@ RAW assert_equal %(eCookbook), link_to_project(project, {:action => 'settings'}, :class => "project") end - + def test_principals_options_for_select_with_users users = [User.find(2), User.find(4)] assert_equal %(), principals_options_for_select(users) end - + def test_principals_options_for_select_with_selected users = [User.find(2), User.find(4)] assert_equal %(), principals_options_for_select(users, User.find(4)) end - + def test_principals_options_for_select_with_users_and_groups users = [User.find(2), Group.find(11), User.find(4), Group.find(10)] assert_equal %() + %(), principals_options_for_select(users) end - + def test_principals_options_for_select_with_empty_collection assert_equal '', principals_options_for_select([]) end