Commit ac0dfdb1 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'sh-fix-dashboard-helper-constant' into 'master'

Fix DashboardHelper reference in spec

See merge request gitlab-org/gitlab-ce!22948
parents 9adcd62d 18af0d06
...@@ -6,7 +6,7 @@ require "spec_helper" ...@@ -6,7 +6,7 @@ require "spec_helper"
# All those specs are moved out to this spec intentionally to keep them all in one place. # All those specs are moved out to this spec intentionally to keep them all in one place.
describe "User sorts things" do describe "User sorts things" do
include Spec::Support::Helpers::Features::SortingHelpers include Spec::Support::Helpers::Features::SortingHelpers
include Helpers::DashboardHelper include DashboardHelper
set(:project) { create(:project_empty_repo, :public) } set(:project) { create(:project_empty_repo, :public) }
set(:current_user) { create(:user) } # Using `current_user` instead of just `user` because of the hardoced call in `assigned_mrs_dashboard_path` which is used below. set(:current_user) { create(:user) } # Using `current_user` instead of just `user` because of the hardoced call in `assigned_mrs_dashboard_path` which is used below.
......
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