From 18af0d06587fa973efc7cff199b39481387336eb Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Fri, 9 Nov 2018 10:54:19 -0800 Subject: Fix DashboardHelper reference in spec Helpers::DashboardHelper doesn't actually exist, and Ruby 2.5 gets rid of the automatic top-level constant lookup (https://bugs.ruby-lang.org/issues/11547). --- spec/features/user_sorts_things_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/user_sorts_things_spec.rb b/spec/features/user_sorts_things_spec.rb index 69ebdddaeec..0295f588326 100644 --- a/spec/features/user_sorts_things_spec.rb +++ b/spec/features/user_sorts_things_spec.rb @@ -6,7 +6,7 @@ require "spec_helper" # All those specs are moved out to this spec intentionally to keep them all in one place. describe "User sorts things" do include Spec::Support::Helpers::Features::SortingHelpers - include Helpers::DashboardHelper + include DashboardHelper 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. -- cgit v1.2.1