diff options
author | Reuben Pereira <reuben453@gmail.com> | 2018-07-03 19:16:13 +0300 |
---|---|---|
committer | Reuben Pereira <reuben453@gmail.com> | 2018-07-03 19:16:13 +0300 |
commit | 9e9137a6607e95bbe1e113da02fb95c2b19d66f9 (patch) | |
tree | 0dbf32d55061e686012e092e6be832a2d9b2c25b /spec/lib/banzai/filter/project_reference_filter_spec.rb | |
parent | 7429eb3b48515d05d3840b6ba8ca68581eeb5ebe (diff) |
Remove the Project#to_reference_with_postfix method since it is only used in the project_reference_filter_spec
Diffstat (limited to 'spec/lib/banzai/filter/project_reference_filter_spec.rb')
-rw-r--r-- | spec/lib/banzai/filter/project_reference_filter_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/filter/project_reference_filter_spec.rb b/spec/lib/banzai/filter/project_reference_filter_spec.rb index a57f4644866..559293d5ac3 100644 --- a/spec/lib/banzai/filter/project_reference_filter_spec.rb +++ b/spec/lib/banzai/filter/project_reference_filter_spec.rb @@ -8,7 +8,7 @@ describe Banzai::Filter::ProjectReferenceFilter do end def get_reference(project) - project.to_reference_with_postfix + "#{project.to_reference(full: true)}#{Project.reference_postfix}" end let(:project) { create(:project, :public) } |