diff options
author | Reuben Pereira <reuben453@gmail.com> | 2018-07-04 23:25:55 +0300 |
---|---|---|
committer | Reuben Pereira <reuben453@gmail.com> | 2018-07-04 23:25:55 +0300 |
commit | 74c81cc50e7d4deff11e9777b9522f8adf8b3c96 (patch) | |
tree | 0681e91baf0375b00e7b7972fb504cf3bd32f665 /spec/lib/banzai/filter/project_reference_filter_spec.rb | |
parent | 2730ae1d869af4ddd48dc312d230c1bcafec19b5 (diff) |
Add back the Project#to_reference_with_postfix function since it can be used in the ProjectReferenceFilter#link_to_project function
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 20f809e010e..13e1fc2d3e2 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(full: true)}#{Project.reference_postfix}" + project.to_reference_with_postfix end let(:project) { create(:project, :public) } |