Skip to content

Commit

Permalink
different wording in comments in stub methods
Browse files Browse the repository at this point in the history
  • Loading branch information
yrudman committed Jan 11, 2019
1 parent 958c52c commit 444f9f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/models/miq_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,13 @@ def self.display_name(number = 1)
end

def userid=(_userid)
# there are no MiqReport.userid and MiqReport.group_description attributes and after adding 'userid'
# and 'group_description' to a saved report, we need this stub to allow mass assignment
# when updating attrbutes using saved output from MiqReport::ImportExport#export_to_array
# Stubbed method to handle 'userid' attr that may be present in the exported hash
# which does not exist in the MiqReport class
end

def group_description=(_group_description)
# need this stub to allow mass assignment when updating attrbutes
# Stubbed method to handle 'group_description' attr that may be present in the exported hash
# which does not exist in the MiqReport class
end

private
Expand Down

0 comments on commit 444f9f8

Please sign in to comment.