Commit 7a8b97e1 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch '35853-pages-missing-dotfiles' into 'master'

Include a .hidden directory in pages artifact extraction tests

See merge request gitlab-org/gitlab-ce!14852
parents a73e3295 f1aabd89
No preview for this file type
......@@ -52,6 +52,11 @@ describe Projects::UpdatePagesService do
expect(project.pages_deployed?).to be_falsey
expect(execute).to eq(:success)
expect(project.pages_deployed?).to be_truthy
# Check that all expected files are extracted
%w[index.html zero .hidden/file].each do |filename|
expect(File.exist?(File.join(project.public_pages_path, filename))).to be_truthy
end
end
it 'limits pages size' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment