Class: TestCaseResultCopy

Inherits:
ObjectCopy show all
Defined in:
lib/translate/copy/test_case_result_copy.rb

Instance Method Summary collapse

Methods inherited from ObjectCopy

#card_values, #copy, #copy_children, #create_object, #excluded_attributes, #fetch_object, #fetch_project, #find_project_in_new_workspace, #initialize, #logger, #new_workspace, #rally_rest, #remember, #tangle, #type_as_symbol, #user_exists?

Constructor Details

This class inherits a constructor from ObjectCopy

Instance Method Details

#shallow_copy(object) ⇒ Object



2
3
4
5
6
# File 'lib/translate/copy/test_case_result_copy.rb', line 2

def shallow_copy(object)
  values = super
  values.delete(:tester) unless user_exists? @object.tester
  values
end