Project

General

Profile

Revision 400832c6

Added by Thomas McKay over 5 years ago

fixes #16493 - create manifest in portal

View differences:

test/resources/content_hosts_test.rb
2 2
require './lib/hammer_cli_csv'
3 3

  
4 4
module Resources
5
  class TestContentHostsUsage < MiniTest::Unit::TestCase
5
  class TestContentHosts < MiniTest::Unit::TestCase
6 6
    def test_usage
7 7
      start_vcr
8 8
      set_user 'admin'
......
26 26
HELP
27 27
      stop_vcr
28 28
    end
29
  end
30 29

  
31
  class TestContentHostsImport < MiniTest::Unit::TestCase
32 30
    def test_create_and_update
33 31
      start_vcr
34 32
      set_user 'admin'
......
64 62

  
65 63
      stop_vcr
66 64
    end
67
  end
68 65

  
69
  class TestContentHostsExport < MiniTest::Unit::TestCase
70 66
    def test_export
71 67
      start_vcr
72 68
      set_user 'admin'
......
93 89
      # rubocop:enable LineLength
94 90
      stop_vcr
95 91
    end
96
  end
97 92

  
98
  class TestContentHostsSingle < MiniTest::Unit::TestCase
99 93
    # import a single line, testing that subscription is added
100 94
    def test_import_single_line
101 95
      start_vcr

Also available in: Unified diff