Project

General

Profile

Revision bf81b9cf

Added by Thomas McKay over 8 years ago

test-fixes - setup_test clean except for manifest upload repeat

View differences:

lib/hammer_cli_csv/domains.rb
62 62
          print "Creating domain '#{name}'..." if option_verbose?
63 63
          domain_id = @api.resource(:domains).call(:create, {
64 64
                                             'name' => name,
65
                                             'organization_ids' => organization_ids
66 65
                                           })['domain']['id']
67 66
        else
68 67
          print "Updating domain '#{name}'..." if option_verbose?
69 68
          domain_id = @api.resource(:domains).call(:update, {
70 69
                                             'id' => @existing[name],
71
                                             'domain' => {
72
                                               'name' => name
73
                                             }
70
                                             'name' => name
74 71
                                           })['domain']['id']
75 72
        end
76 73

  

Also available in: Unified diff