Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-08 21:10:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-08 21:10:23 +0300
commit8a03b5424b73679d852fbf43781d9422c83869f7 (patch)
treea24a9c56fce9530492d60a640572922dd65d1072 /spec/models/pages
parent0ebbf19f2d2b87e1f2aca1c59efde1aa6a766cf6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/pages')
-rw-r--r--spec/models/pages/lookup_path_spec.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/models/pages/lookup_path_spec.rb b/spec/models/pages/lookup_path_spec.rb
index 735f2225c21..2d7ee8ba3be 100644
--- a/spec/models/pages/lookup_path_spec.rb
+++ b/spec/models/pages/lookup_path_spec.rb
@@ -47,14 +47,7 @@ RSpec.describe Pages::LookupPath do
describe '#source' do
let(:source) { lookup_path.source }
- it 'uses disk storage', :aggregate_failures do
- expect(source[:type]).to eq('file')
- expect(source[:path]).to eq(project.full_path + "/public/")
- end
-
- it 'return nil when local storage is disabled and there is no deployment' do
- allow(Settings.pages.local_store).to receive(:enabled).and_return(false)
-
+ it 'returns nil' do
expect(source).to eq(nil)
end