diff options
Diffstat (limited to 'spec/gitlab/docs/page_spec.rb')
-rw-r--r-- | spec/gitlab/docs/page_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab/docs/page_spec.rb b/spec/gitlab/docs/page_spec.rb index 84cf581c..44454385 100644 --- a/spec/gitlab/docs/page_spec.rb +++ b/spec/gitlab/docs/page_spec.rb @@ -15,7 +15,7 @@ describe Gitlab::Docs::Page do context 'when file exists' do before do - allow(File).to receive(:exists?) + allow(File).to receive(:exist?) .with('some/file.html') .and_return(true) |