提交 8c1b41f1 编写于 作者: A Annabel Dunstone Gray

Move migration to post_migrate; fix shortcuts_spec

上级 2fc55914
......@@ -5,7 +5,7 @@ class RemoveThemeIdFromUsers < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
# Set this constant to true if this migration requires downtime.
DOWNTIME = true
DOWNTIME = false
# When a migration requires downtime you **must** uncomment the following
# constant and define a short and easy to understand explanation as to why the
......
......@@ -24,6 +24,7 @@ feature 'Dashboard shortcuts', feature: true, js: true do
end
def ensure_active_main_tab(content)
expect(find('.nav-sidebar li.active')).to have_content(content)
find('.global-dropdown-toggle').trigger('click')
expect(find('.global-dropdown-menu li.active')).to have_content(content)
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册