aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/time_with_zone_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2018-09-26 12:35:12 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2018-09-26 12:35:12 -0700
commitb42d246c5d020a46d5964d236eb7f0d857ef01e8 (patch)
treeb4fb19def15c5033483ecebe25d4e762ee1a4dab /activesupport/test/core_ext/time_with_zone_test.rb
parentb50f7ae627a0962efbc1805b603f2d5baa6810d7 (diff)
parent6556898884d636c59baae008e42783b8d3e16440 (diff)
downloadrails-b42d246c5d020a46d5964d236eb7f0d857ef01e8.tar.gz
rails-b42d246c5d020a46d5964d236eb7f0d857ef01e8.tar.bz2
rails-b42d246c5d020a46d5964d236eb7f0d857ef01e8.zip
Merge branch 'master' into eager-url-helpers
* master: Remove force parent loading when counter cache child is created/destroyed Raise an error when loading all fixtures from nil fixture_path Revert "Remove `counter_cache_target` which is no longer called" Update counter cache in memory if parent target is existed If association is a hash-like object preloading fails Use the same option for create database statements between Raketask and travis.rb Fix "warning: shadowing outer local variable - config" Remove `counter_cache_target` which is no longer called Fix more offences Change the empty block style to have space inside of the block Fix a content_for test description Stringify database configurations Improve error message when assign wrong attributes to model
Diffstat (limited to 'activesupport/test/core_ext/time_with_zone_test.rb')
-rw-r--r--activesupport/test/core_ext/time_with_zone_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/time_with_zone_test.rb b/activesupport/test/core_ext/time_with_zone_test.rb
index e650209268..f6e836e446 100644
--- a/activesupport/test/core_ext/time_with_zone_test.rb
+++ b/activesupport/test/core_ext/time_with_zone_test.rb
@@ -1105,7 +1105,7 @@ class TimeWithZoneMethodsForTimeAndDateTimeTest < ActiveSupport::TestCase
def test_use_zone_raises_on_invalid_timezone
Time.zone = "Alaska"
assert_raise ArgumentError do
- Time.use_zone("No such timezone exists") {}
+ Time.use_zone("No such timezone exists") { }
end
assert_equal ActiveSupport::TimeZone["Alaska"], Time.zone
end