aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-07-15 10:18:44 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-07-15 10:18:44 +0900
commit63197f2aa2177ce0a3b65a368978a542844be5f1 (patch)
treee0dc8c34456de7f18943c98d044906b44a1b8387 /activesupport/lib/active_support/testing
parent58f10a31b37e9bb6e975a71aa63744f318ee043d (diff)
downloadrails-63197f2aa2177ce0a3b65a368978a542844be5f1.tar.gz
rails-63197f2aa2177ce0a3b65a368978a542844be5f1.tar.bz2
rails-63197f2aa2177ce0a3b65a368978a542844be5f1.zip
Fix doc format for `ActiveSupport::Testing::TimeHelpers` [ci skip]
Diffstat (limited to 'activesupport/lib/active_support/testing')
-rw-r--r--activesupport/lib/active_support/testing/time_helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/testing/time_helpers.rb b/activesupport/lib/active_support/testing/time_helpers.rb
index 182ba10765..b529592910 100644
--- a/activesupport/lib/active_support/testing/time_helpers.rb
+++ b/activesupport/lib/active_support/testing/time_helpers.rb
@@ -151,7 +151,7 @@ module ActiveSupport
end
# Returns the current time back to its original state, by removing the stubs added by
- # `travel` and `travel_to`.
+ # +travel+ and +travel_to+.
#
# Time.current # => Sat, 09 Nov 2013 15:34:49 EST -05:00
# travel_to Time.zone.local(2004, 11, 24, 01, 04, 44)
@@ -162,7 +162,7 @@ module ActiveSupport
simple_stubs.unstub_all!
end
- # Calls `travel_to` with `Time.now`.
+ # Calls +travel_to+ with +Time.now+.
#
# Time.current # => Sun, 09 Jul 2017 15:34:49 EST -05:00
# freeze_time