diff options
Diffstat (limited to 'spec/ruby/core/filetest/grpowned_spec.rb')
| -rw-r--r-- | spec/ruby/core/filetest/grpowned_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/filetest/grpowned_spec.rb b/spec/ruby/core/filetest/grpowned_spec.rb index 950671aae9..d6bd6abd71 100644 --- a/spec/ruby/core/filetest/grpowned_spec.rb +++ b/spec/ruby/core/filetest/grpowned_spec.rb @@ -1,10 +1,10 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../../../shared/file/grpowned', __FILE__) +require_relative '../../spec_helper' +require_relative '../../shared/file/grpowned' describe "FileTest.grpowned?" do it_behaves_like :file_grpowned, :grpowned?, FileTest it "returns false if the file doesn't exist" do - FileTest.grpowned?("xxx-tmp-doesnt_exist-blah").should be_false + FileTest.grpowned?("xxx-tmp-doesnt_exist-blah").should == false end end |
