diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-15 10:34:58 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-15 10:34:58 +0900 |
commit | d1b2b139a55aa0bda082a41946373374ff3e90a0 (patch) | |
tree | 519ac8f7a228355ec7327cbdf5edc8b5eaa62fc3 /activesupport | |
parent | c1f9fa8c69590222fac43d58bf64ef4a1225d7ce (diff) | |
parent | 63197f2aa2177ce0a3b65a368978a542844be5f1 (diff) | |
download | rails-d1b2b139a55aa0bda082a41946373374ff3e90a0.tar.gz rails-d1b2b139a55aa0bda082a41946373374ff3e90a0.tar.bz2 rails-d1b2b139a55aa0bda082a41946373374ff3e90a0.zip |
Merge pull request #29797 from y-yagi/fix_doc_format_for_time_helpers
Fix doc format for `ActiveSupport::Testing::TimeHelpers` [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/testing/time_helpers.rb | 4 |
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 |