mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Require 'timecop' explicitly
This works around a problem with bundler's autorequires when not using a standard Rails environment.
This commit is contained in:
parent
d35bc5ad62
commit
bae4b2a5b7
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
||||
require 'timecop'
|
||||
|
||||
class UserTest < ActiveSupport::TestCase
|
||||
fixtures :users, :preferences, :projects, :contexts, :todos, :recurring_todos
|
||||
|
|
@ -393,4 +394,4 @@ class UserTest < ActiveSupport::TestCase
|
|||
User.create({ :login => 'quire', :password => 'quire', :password_confirmation => 'quire' }.merge(options))
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue