From bfbae885b290d35d7cbdcdf7f6b6c157bacac392 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Tue, 11 Jul 2017 06:49:05 +0900 Subject: :scissors: [ci skip] --- activesupport/lib/active_support/testing/time_helpers.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/activesupport/lib/active_support/testing/time_helpers.rb b/activesupport/lib/active_support/testing/time_helpers.rb index d72d82d7c4..68248946de 100644 --- a/activesupport/lib/active_support/testing/time_helpers.rb +++ b/activesupport/lib/active_support/testing/time_helpers.rb @@ -177,7 +177,6 @@ module ActiveSupport # User.create.created_at # => Sun, 09 Jul 2017 15:34:49 EST -05:00 # end # Time.current # => Sun, 09 Jul 2017 15:34:50 EST -05:00 - def freeze_time(&block) travel_to Time.now, &block end -- cgit v1.2.3