mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@032ee74
This commit is contained in:
parent
f646d20aae
commit
5aaa75e7c1
263 changed files with 921 additions and 921 deletions
|
@ -20,13 +20,13 @@ describe "File.lchmod" do
|
|||
File.chmod(0222, @lname).should == 1
|
||||
File.lchmod(0755, @lname).should == 1
|
||||
|
||||
File.lstat(@lname).executable?.should == true
|
||||
File.lstat(@lname).readable?.should == true
|
||||
File.lstat(@lname).writable?.should == true
|
||||
File.lstat(@lname).should.executable?
|
||||
File.lstat(@lname).should.readable?
|
||||
File.lstat(@lname).should.writable?
|
||||
|
||||
File.stat(@lname).executable?.should == false
|
||||
File.stat(@lname).readable?.should == false
|
||||
File.stat(@lname).writable?.should == true
|
||||
File.stat(@lname).should_not.executable?
|
||||
File.stat(@lname).should_not.readable?
|
||||
File.stat(@lname).should.writable?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue