diff options
Diffstat (limited to 'spec/helpers/sorting_helper_spec.rb')
-rw-r--r-- | spec/helpers/sorting_helper_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/helpers/sorting_helper_spec.rb b/spec/helpers/sorting_helper_spec.rb index e20fb77ad75..1ee920d1c95 100644 --- a/spec/helpers/sorting_helper_spec.rb +++ b/spec/helpers/sorting_helper_spec.rb @@ -62,6 +62,12 @@ RSpec.describe SortingHelper do end end + describe '#can_sort_by_issue_weight?' do + it 'returns false' do + expect(helper.can_sort_by_issue_weight?(false)).to be_falsey + end + end + def stub_controller_path(value) allow(helper.controller).to receive(:controller_path).and_return(value) end |