summaryrefslogtreecommitdiff
path: root/spec/helpers/releases_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/releases_helper_spec.rb')
-rw-r--r--spec/helpers/releases_helper_spec.rb16
1 files changed, 1 insertions, 15 deletions
diff --git a/spec/helpers/releases_helper_spec.rb b/spec/helpers/releases_helper_spec.rb
index ff820b3cc95..3b4973677ef 100644
--- a/spec/helpers/releases_helper_spec.rb
+++ b/spec/helpers/releases_helper_spec.rb
@@ -22,23 +22,9 @@ describe ReleasesHelper do
helper.instance_variable_set(:@project, project)
end
- describe '#url_for_merge_requests' do
- it 'returns the the correct link with the correct parameters' do
- path = "#{project.group.path}/#{project.path}/merge_requests?scope=all&state=opened"
- expect(helper.url_for_merge_requests).to include(path)
- end
- end
-
- describe '#url_for_issues' do
- it 'returns the the correct link with the correct parameters' do
- path = "#{project.group.path}/#{project.path}/issues?scope=all&state=opened"
- expect(helper.url_for_issues).to include(path)
- end
- end
-
describe '#data_for_releases_page' do
it 'has the needed data to display release blocks' do
- keys = %i(project_id illustration_path documentation_path merge_requests_url issues_url)
+ keys = %i(project_id illustration_path documentation_path)
expect(helper.data_for_releases_page.keys).to eq(keys)
end
end