diff --git a/spec/helpers/time_range_helper_spec.rb b/spec/helpers/time_range_helper_spec.rb index b68e9bbd..3148acc5 100644 --- a/spec/helpers/time_range_helper_spec.rb +++ b/spec/helpers/time_range_helper_spec.rb @@ -12,17 +12,17 @@ tests = [ # comment, end_time, results_without_context, results_with_context [ "start time only", nil, - "Tuesday, April 1, 2008 at 9am", - "9am"], + "", + ""], [ "same day & am-pm", DateTime.new(2008, 4, 1, 11, 00), - "Tuesday, April 1, 2008 from 911am", - "911am" ], + "", + "" ], [ "same day, different am-pm", DateTime.new(2008, 4, 1, 13, 30), - "Tuesday, April 1, 2008 from 9am1:30pm", - "9am1:30pm" ], + "", + "" ], [ "different days", DateTime.new(2009, 4, 1, 13, 30), - "Tuesday, April 1, 2008 at 9am through Wednesday, April 1, 2009 at 1:30pm", - "9am through Wednesday, April 1, 2009 at 1:30pm" ] + " through ", + " through " ] ] [nil, Date.new(2008, 4, 1)].each do |context_date|