aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/file/stat/ftype_spec.rb
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-14 14:09:56 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-14 14:09:56 +0000
commit2ccdbcddfaf544ea28b88b7248c75b90efc1a734 (patch)
treeb04c8801ead64cdd408f383166b88a693bfb0c10 /spec/rubyspec/core/file/stat/ftype_spec.rb
parent52e015cc16d37c3781c991b4d2260ce0687cf55f (diff)
downloadruby-2ccdbcddfaf544ea28b88b7248c75b90efc1a734.tar.gz
Update to ruby/spec@032022ca
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/rubyspec/core/file/stat/ftype_spec.rb')
-rw-r--r--spec/rubyspec/core/file/stat/ftype_spec.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/spec/rubyspec/core/file/stat/ftype_spec.rb b/spec/rubyspec/core/file/stat/ftype_spec.rb
index c20109765b..588c371c39 100644
--- a/spec/rubyspec/core/file/stat/ftype_spec.rb
+++ b/spec/rubyspec/core/file/stat/ftype_spec.rb
@@ -1,7 +1,11 @@
require "#{File.dirname(__FILE__)}/../../../spec_helper"
-require "#{File.dirname(__FILE__)}/../fixtures/file_types.rb"
+require "#{File.dirname(__FILE__)}/../fixtures/file_types"
describe "File::Stat#ftype" do
+ before :all do
+ FileSpecs.configure_types
+ end
+
it "returns a String" do
FileSpecs.normal_file do |file|
File.lstat(file).ftype.should be_kind_of(String)
@@ -62,4 +66,3 @@ describe "File::Stat#ftype" do
end
end
end
-