diff options
author | Stan Hu <stanhu@gmail.com> | 2018-11-09 21:54:19 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-11-09 21:54:19 +0300 |
commit | 18af0d06587fa973efc7cff199b39481387336eb (patch) | |
tree | 0715b2aa1043b2bcd2bd184d133d88d9a280b6ee /spec/features/user_sorts_things_spec.rb | |
parent | 9adcd62df3831b7b3bee86e7ee9793b5156fe46b (diff) |
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).
Diffstat (limited to 'spec/features/user_sorts_things_spec.rb')
-rw-r--r-- | spec/features/user_sorts_things_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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. |