Include a .hidden directory in pages artifact extraction tests

This commit is contained in:
Nick Thomas 2017-10-12 17:56:46 +01:00
parent 05f46b820e
commit f1aabd89ab
No known key found for this signature in database
GPG Key ID: 2A313A47AFADACE9
3 changed files with 5 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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