- get :list
- assert_response :success, "Should be able to list the diary entries in locale"
- assert_template 'list', "Should use the list template in locale"
- assert_select "span[class=translation_missing]", false, "Missing translation in list of diary entries"
-
- # Now try to find a specific user's diary entry
- get :list, {:display_name => users(:normal_user).display_name}
- assert_response :success, "Should be able to list the diary entries for a user in locale"
- assert_template 'list', "Should use the list template for a user in locale"
- assert_no_missing_translations
+ get :list
+ assert_response :success, "Should be able to list the diary entries in locale"
+ assert_template "list", "Should use the list template in locale"
+ assert_select "span[class=translation_missing]", false, "Missing translation in list of diary entries"
+
+ # Now try to find a specific user's diary entry
+ get :list, :display_name => users(:normal_user).display_name
+ assert_response :success, "Should be able to list the diary entries for a user in locale"
+ assert_template "list", "Should use the list template for a user in locale"
+ assert_no_missing_translations