Fixes two failing specs in Admin::DashboardController.