diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-08-30 12:44:30 +0300 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-09-02 08:03:14 +0300 |
commit | be0f039d9cb5f75a6853184f7d82dff7be00bb90 (patch) | |
tree | c7f053cc2011892e8aa508db92b664e6784d8856 /spec/helpers | |
parent | a1a6def114613500a8e84b6eb2285c023ab1ace8 (diff) |
Fix upload URLs in Markdown
Fixes RelativeLinkFilter for users that don't have access
to the project's repository
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/markup_helper_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/helpers/markup_helper_spec.rb b/spec/helpers/markup_helper_spec.rb index 1757ec8fa4d..f6e1720e113 100644 --- a/spec/helpers/markup_helper_spec.rb +++ b/spec/helpers/markup_helper_spec.rb @@ -65,9 +65,6 @@ describe MarkupHelper do describe 'inside a group' do before do - # Ensure the generated reference links aren't redacted - group.add_maintainer(user) - helper.instance_variable_set(:@group, group) helper.instance_variable_set(:@project, nil) end @@ -81,9 +78,6 @@ describe MarkupHelper do let(:project_in_group) { create(:project, group: group) } before do - # Ensure the generated reference links aren't redacted - project_in_group.add_maintainer(user) - helper.instance_variable_set(:@group, group) helper.instance_variable_set(:@project, project_in_group) end |