Skip to content
Snippets Groups Projects
Verified Commit f1aabd89 authored by Nick Thomas's avatar Nick Thomas
Browse files

Include a .hidden directory in pages artifact extraction tests

parent 05f46b82
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment