diff options
Diffstat (limited to 'spec/ruby/core/file/chown_spec.rb')
-rw-r--r-- | spec/ruby/core/file/chown_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/file/chown_spec.rb b/spec/ruby/core/file/chown_spec.rb index 512d5b4738..8cc8f0d04b 100644 --- a/spec/ruby/core/file/chown_spec.rb +++ b/spec/ruby/core/file/chown_spec.rb @@ -66,7 +66,7 @@ describe "File.chown" do platform_is_not :windows do it "raises an error for a non existent path" do - lambda { + -> { File.chown(nil, nil, "#{@fname}_not_existing") }.should raise_error(Errno::ENOENT) end |