summaryrefslogtreecommitdiff
path: root/spec/ruby/core/file/grpowned_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/file/grpowned_spec.rb')
-rw-r--r--spec/ruby/core/file/grpowned_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/ruby/core/file/grpowned_spec.rb b/spec/ruby/core/file/grpowned_spec.rb
new file mode 100644
index 0000000000..0b5514d7ca
--- /dev/null
+++ b/spec/ruby/core/file/grpowned_spec.rb
@@ -0,0 +1,10 @@
+require File.expand_path('../../../spec_helper', __FILE__)
+require File.expand_path('../../../shared/file/grpowned', __FILE__)
+
+describe "File.grpowned?" do
+ it_behaves_like :file_grpowned, :grpowned?, File
+
+ it "returns false if file the does not exist" do
+ File.grpowned?("i_am_a_bogus_file").should == false
+ end
+end