Project

General

Profile

Revision 611959a3

Added by Thomas McKay over 5 years ago

fixes #16281 - add --itemized-subscriptions to activation-keys

View differences:

test/resources/content_hosts_test.rb
19 19
 --continue-on-error           Continue processing even if individual resource error
20 20
 --export                      Export current data instead of importing
21 21
 --file FILE_NAME              CSV file (default to /dev/stdout with --export, otherwise required)
22
 --itemized-subscriptions      Export one subscription per row, only process update subscriptions on import
22 23
 --organization ORGANIZATION   Only process organization matching this name
23
 --subscriptions-only          Export only detailed subscription information
24 24
 -h, --help                    print help
25 25
 -v, --verbose                 be verbose
26 26
HELP
......
84 84
      set_user 'admin'
85 85

  
86 86
      stdout,stderr = capture {
87
        hammer.run(%W{csv content-hosts --export --subscriptions-only --organization Test\ Corporation})
87
        hammer.run(%W{csv content-hosts --export --itemized-subscriptions --organization Test\ Corporation})
88 88
      }
89 89
      assert_equal '', stderr
90 90

  

Also available in: Unified diff