def test_principals_options_for_select_with_selected
User.current = nil
users = [User.find(2), User.find(4)]
- assert_equal %(<option value="2">John Smith</option><option value="4" selected="selected">Robert Hill</option>),
- principals_options_for_select(users, User.find(4))
+ assert_equal(
+ %(<option value="2">John Smith</option><option value="4" selected="selected">Robert Hill</option>),
+ principals_options_for_select(users, User.find(4)))
end
def test_principals_options_for_select_with_users_and_groups