summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/file/grpowned.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/file/grpowned.rb')
-rw-r--r--spec/ruby/shared/file/grpowned.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/ruby/shared/file/grpowned.rb b/spec/ruby/shared/file/grpowned.rb
index 91a6483030..07a5a69e1a 100644
--- a/spec/ruby/shared/file/grpowned.rb
+++ b/spec/ruby/shared/file/grpowned.rb
@@ -11,11 +11,11 @@ describe :file_grpowned, shared: true do
platform_is_not :windows do
it "returns true if the file exist" do
- @object.send(@method, @file).should be_true
+ @object.send(@method, @file).should == true
end
it "accepts an object that has a #to_path method" do
- @object.send(@method, mock_to_path(@file)).should be_true
+ @object.send(@method, mock_to_path(@file)).should == true
end
it 'takes non primary groups into account' do
@@ -26,15 +26,14 @@ describe :file_grpowned, shared: true do
@object.send(@method, @file).should == true
else
- # No supplementary groups
- 1.should == 1
+ skip "No supplementary groups"
end
end
end
platform_is :windows do
it "returns false if the file exist" do
- @object.send(@method, @file).should be_false
+ @object.send(@method, @file).should == false
end
end
end