From bae4b2a5b71f345b1c19ad7b329c027fc0903936 Mon Sep 17 00:00:00 2001 From: Matt Rogers Date: Sun, 13 Oct 2013 09:39:48 -0500 Subject: [PATCH] Require 'timecop' explicitly This works around a problem with bundler's autorequires when not using a standard Rails environment. --- test/models/user_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/models/user_test.rb b/test/models/user_test.rb index 42c8c472..7bde5065 100644 --- a/test/models/user_test.rb +++ b/test/models/user_test.rb @@ -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 \ No newline at end of file +end