diff options
Diffstat (limited to 'spec/support/helpers/wiki_helpers.rb')
-rw-r--r-- | spec/support/helpers/wiki_helpers.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/support/helpers/wiki_helpers.rb b/spec/support/helpers/wiki_helpers.rb index 0cf70fd4ef7..06cea728b42 100644 --- a/spec/support/helpers/wiki_helpers.rb +++ b/spec/support/helpers/wiki_helpers.rb @@ -12,10 +12,4 @@ module WikiHelpers ::Wikis::CreateAttachmentService.new(project, user, opts) .execute[:result][:file_path] end - - # Generate the form field name for a given attribute of an object. - # This is rather general, but is currently only used in the wiki featur tests. - def form_field_name(obj, attr_name) - "#{ActiveModel::Naming.param_key(obj)}[#{attr_name}]" - end end |