Commit b1a4eb33 authored by Justin Ho's avatar Justin Ho

Fix QA specs after moving ES settings to General

parent 13ea2833
...@@ -71,7 +71,7 @@ module QA ...@@ -71,7 +71,7 @@ module QA
module Settings module Settings
autoload :Templates, 'qa/ee/page/admin/settings/templates' autoload :Templates, 'qa/ee/page/admin/settings/templates'
autoload :Integration, 'qa/ee/page/admin/settings/integration' autoload :Elasticsearch, 'qa/ee/page/admin/settings/elasticsearch'
autoload :Preferences, 'qa/ee/page/admin/settings/preferences' autoload :Preferences, 'qa/ee/page/admin/settings/preferences'
module Component module Component
......
...@@ -5,7 +5,7 @@ module QA ...@@ -5,7 +5,7 @@ module QA
module Page module Page
module Admin module Admin
module Settings module Settings
class Integration < QA::Page::Base class Elasticsearch < QA::Page::Base
include QA::Page::Settings::Common include QA::Page::Settings::Common
view 'ee/app/views/admin/application_settings/_elasticsearch_form.html.haml' do view 'ee/app/views/admin/application_settings/_elasticsearch_form.html.haml' do
......
...@@ -17,9 +17,9 @@ module QA ...@@ -17,9 +17,9 @@ module QA
def fabricate! def fabricate!
QA::Page::Main::Menu.perform(&:go_to_admin_area) QA::Page::Main::Menu.perform(&:go_to_admin_area)
QA::Page::Admin::Menu.perform(&:go_to_integration_settings) QA::Page::Admin::Menu.perform(&:go_to_general_settings)
QA::EE::Page::Admin::Settings::Integration.perform do |integration| QA::EE::Page::Admin::Settings::Elasticsearch.perform do |settings|
integration.expand_elasticsearch do |es| settings.expand_elasticsearch do |es|
es.check_indexing if @es_indexing es.check_indexing if @es_indexing
es.check_search if @es_enabled es.check_search if @es_enabled
es.enter_link(@es_url) es.enter_link(@es_url)
......
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