summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/file/stat/mode_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/file/stat/mode_spec.rb')
-rw-r--r--spec/rubyspec/core/file/stat/mode_spec.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/rubyspec/core/file/stat/mode_spec.rb b/spec/rubyspec/core/file/stat/mode_spec.rb
deleted file mode 100644
index 1c895bf0ce..0000000000
--- a/spec/rubyspec/core/file/stat/mode_spec.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-require File.expand_path('../../../../spec_helper', __FILE__)
-
-describe "File::Stat#mode" do
- before :each do
- @file = tmp('i_exist')
- touch(@file) { |f| f.write "rubinius" }
- File.chmod(0644, @file)
- end
-
- after :each do
- rm_r @file
- end
-
- it "returns the mode of a File::Stat object" do
- st = File.stat(@file)
- st.mode.is_a?(Integer).should == true
- (st.mode & 0777).should == 0644
- end
-end