Skip to content
代码片段 群组 项目
提交 685f8ca8 编辑于 作者: Jessie Young's avatar Jessie Young
浏览文件

Merge branch 'ld-master-broken-433962' into 'master'

No related branches found
No related tags found
无相关合并请求
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
describe '.linked?' do describe '.linked?' do
it 'raises an error when file does not exist' do it 'raises an error when file does not exist' do
expect { subject.linked?('foo') }.to raise_error(Errno::ENOENT) expect { subject.linked?("#{tmpdir}/foo") }.to raise_error(Errno::ENOENT)
end end
shared_examples 'identifies a linked file' do shared_examples 'identifies a linked file' do
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
describe '.shares_hard_link?' do describe '.shares_hard_link?' do
it 'raises an error when file does not exist' do it 'raises an error when file does not exist' do
expect { subject.shares_hard_link?('foo') }.to raise_error(Errno::ENOENT) expect { subject.shares_hard_link?("#{tmpdir}/foo") }.to raise_error(Errno::ENOENT)
end end
shared_examples 'identifies a file that shares a hard link' do shared_examples 'identifies a file that shares a hard link' do
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册