summaryrefslogtreecommitdiff
path: root/spec/helpers/dashboard_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/dashboard_helper_spec.rb')
-rw-r--r--spec/helpers/dashboard_helper_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/helpers/dashboard_helper_spec.rb b/spec/helpers/dashboard_helper_spec.rb
index 65182dcb729..8a76771be0a 100644
--- a/spec/helpers/dashboard_helper_spec.rb
+++ b/spec/helpers/dashboard_helper_spec.rb
@@ -89,4 +89,10 @@ RSpec.describe DashboardHelper do
it { is_expected.to eq(false) }
end
+
+ describe '#reviewer_mrs_dashboard_path' do
+ subject { helper.reviewer_mrs_dashboard_path }
+
+ it { is_expected.to eq(merge_requests_dashboard_path(reviewer_username: user.username)) }
+ end
end