aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-02-08 20:05:48 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-02-08 20:05:48 +0900
commite4719ec047a529dc0759336136f9df18370c1b34 (patch)
tree72591c93615a4942fe2cea3cdfc4fe187798a9f3 /activesupport
parent5d75ef72e61f00bbf987aa5a73e9ca2a1e23d718 (diff)
downloadrails-e4719ec047a529dc0759336136f9df18370c1b34.tar.gz
rails-e4719ec047a529dc0759336136f9df18370c1b34.tar.bz2
rails-e4719ec047a529dc0759336136f9df18370c1b34.zip
Add missing require
Without this require, an error occurs when executing only `duration_test.rb`. Ref: https://travis-ci.org/rails/rails/jobs/338817558#L2205-L2210
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/core_ext/duration_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/test/core_ext/duration_test.rb b/activesupport/test/core_ext/duration_test.rb
index be33324f25..c5022cf5b1 100644
--- a/activesupport/test/core_ext/duration_test.rb
+++ b/activesupport/test/core_ext/duration_test.rb
@@ -5,6 +5,7 @@ require "active_support/inflector"
require "active_support/time"
require "active_support/json"
require "time_zone_test_helpers"
+require "yaml"
class DurationTest < ActiveSupport::TestCase
include TimeZoneTestHelpers