diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/support/config.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/support/config.rb b/activerecord/test/support/config.rb index d0717f7b34..5817e427e3 100644 --- a/activerecord/test/support/config.rb +++ b/activerecord/test/support/config.rb @@ -1,5 +1,5 @@ require "yaml" -require "erubis" +require "erb" require "fileutils" require "pathname" @@ -20,7 +20,7 @@ module ARTest FileUtils.cp TEST_ROOT + "/config.example.yml", config_file end - erb = Erubis::Eruby.new(config_file.read) + erb = ERB.new(config_file.read) expand_config(YAML.parse(erb.result(binding)).transform) end |