aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-07-11 06:49:05 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-07-11 06:49:05 +0900
commitbfbae885b290d35d7cbdcdf7f6b6c157bacac392 (patch)
tree9393c1c3ca6f0f23401c29b08fc13e3fe8e886d6 /activesupport/lib
parent18d637e41c789d69056d73fa38e74bde65a69401 (diff)
downloadrails-bfbae885b290d35d7cbdcdf7f6b6c157bacac392.tar.gz
rails-bfbae885b290d35d7cbdcdf7f6b6c157bacac392.tar.bz2
rails-bfbae885b290d35d7cbdcdf7f6b6c157bacac392.zip
:scissors:
[ci skip]
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/testing/time_helpers.rb1
1 files changed, 0 insertions, 1 deletions
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