mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-05 07:21:48 +01:00
Replace Timecop with new ActiveSupport helpers
This commit is contained in:
parent
7d7e47deff
commit
d0cec167a8
13 changed files with 24 additions and 27 deletions
|
|
@ -12,7 +12,7 @@ end
|
|||
|
||||
Given /^the date is "(.*?)"$/ do |date|
|
||||
# remember to tag the scenario with @reset_time to reset this travel
|
||||
Timecop.travel(date)
|
||||
travel_to date
|
||||
end
|
||||
|
||||
Given(/^I have selected the view for group by (project|context)$/) do |grouping|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue