aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/testing
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2016-07-04 14:08:27 +0200
committerVít Ondruch <vondruch@redhat.com>2016-07-04 14:08:27 +0200
commita69a5a414755c7f7df3a3a1d3e58e3d47e66018c (patch)
tree048106e54bd749c64c58781d6ae3d59996f49146 /activesupport/test/testing
parent9bdf08c5a57d0411db866124eca4deba5097c30a (diff)
downloadrails-a69a5a414755c7f7df3a3a1d3e58e3d47e66018c.tar.gz
rails-a69a5a414755c7f7df3a3a1d3e58e3d47e66018c.tar.bz2
rails-a69a5a414755c7f7df3a3a1d3e58e3d47e66018c.zip
Pathname might not be always initialized.
Require 'pathname' explicitly
Diffstat (limited to 'activesupport/test/testing')
-rw-r--r--activesupport/test/testing/file_fixtures_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/test/testing/file_fixtures_test.rb b/activesupport/test/testing/file_fixtures_test.rb
index 3587c1a4d1..d98987fb8d 100644
--- a/activesupport/test/testing/file_fixtures_test.rb
+++ b/activesupport/test/testing/file_fixtures_test.rb
@@ -1,5 +1,7 @@
require 'abstract_unit'
+require 'pathname'
+
class FileFixturesTest < ActiveSupport::TestCase
self.file_fixture_path = File.expand_path("../../file_fixtures", __FILE__)