Make rcov happy

pull/6827/head
friflaj 14 years ago
parent 7d48737fa7
commit 952a1e028a
  1. 10
      app/controllers/rb_calendars_controller.rb

@ -40,7 +40,7 @@ class RbCalendarsController < RbApplicationController
end
}
open_issues = "
open_issues = %Q[
#{IssueStatus.table_name}.is_closed = ?
and tracker_id in (?)
and fixed_version_id in (
@ -51,8 +51,8 @@ class RbCalendarsController < RbApplicationController
and not sprint_start_date is null
and effective_date >= ?
)
"
open_issues_and_impediments = "
]
open_issues_and_impediments = %Q[
(assigned_to_id is null or assigned_to_id = ?)
and
(
@ -66,7 +66,7 @@ class RbCalendarsController < RbApplicationController
where #{open_issues})
)
)
"
]
conditions = [open_issues_and_impediments]
# me or none
@ -114,4 +114,4 @@ class RbCalendarsController < RbApplicationController
cal.to_ical
end
end
end

Loading…
Cancel
Save