Commit 8c1b41f1 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Move migration to post_migrate; fix shortcuts_spec

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment