added a missing reset after timetravel

pull/1215/head
Stefan Frank 11 years ago
parent 9c7cf12843
commit 4c381b99b4
  1. 3
      features/step_definitions/timecop_steps.rb

@ -45,6 +45,9 @@ end
Given /^the date is "(.*?)"$/ do |date|
new_time = Time.parse date
Timecop.freeze(new_time)
# Ensure timecop returns after each scenario
Support::ResetTimecop.reset_after
end
module Support

Loading…
Cancel
Save