summaryrefslogtreecommitdiff
path: root/spec/services/pages_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/pages_service_spec.rb')
-rw-r--r--spec/services/pages_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/pages_service_spec.rb b/spec/services/pages_service_spec.rb
index cf38c7c75e5..f8db6900a0a 100644
--- a/spec/services/pages_service_spec.rb
+++ b/spec/services/pages_service_spec.rb
@@ -1,9 +1,9 @@
require 'spec_helper'
-describe PagesService, services: true do
+describe PagesService do
let(:build) { create(:ci_build) }
let(:data) { Gitlab::DataBuilder::Build.build(build) }
- let(:service) { PagesService.new(data) }
+ let(:service) { described_class.new(data) }
before do
allow(Gitlab.config.pages).to receive(:enabled).and_return(true)