foreman_datacenter 1.23.0 → 1.24.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/foreman_datacenter/rack_show.css +56 -0
  3. data/app/controllers/foreman_datacenter/application_controller.rb +2 -0
  4. data/app/controllers/foreman_datacenter/rack_groups_controller.rb +1 -0
  5. data/app/controllers/foreman_datacenter/racks_controller.rb +9 -1
  6. data/app/helpers/foreman_datacenter/racks_helper.rb +96 -0
  7. data/app/models/foreman_datacenter/device.rb +38 -0
  8. data/app/models/foreman_datacenter/rack.rb +103 -1
  9. data/app/views/foreman_datacenter/devices/show.html.erb +1 -1
  10. data/app/views/foreman_datacenter/racks/_device_position.html.erb +10 -1
  11. data/app/views/foreman_datacenter/racks/_device_position_new.html.erb +91 -0
  12. data/app/views/foreman_datacenter/racks/show.html.erb +6 -4
  13. data/config/routes.rb +21 -1
  14. data/lib/foreman_datacenter/version.rb +1 -1
  15. data/test/controllers/foreman_datacenter/device_roles_controller_test.rb +133 -0
  16. data/test/controllers/foreman_datacenter/device_types_contoller_test.rb +108 -47
  17. data/test/controllers/foreman_datacenter/devices_controller_test.rb +132 -0
  18. data/test/controllers/foreman_datacenter/manufacturers_controller_test.rb +133 -0
  19. data/test/controllers/foreman_datacenter/platforms_contoller_test.rb +91 -48
  20. data/test/controllers/foreman_datacenter/rack_groups_contoller_test.rb +90 -43
  21. data/test/controllers/foreman_datacenter/racks_contoller_test.rb +111 -42
  22. data/test/controllers/foreman_datacenter/sites_contoller_test.rb +108 -81
  23. data/test/datacenter_helper.rb +8 -1
  24. data/test/factories/device.rb +5 -0
  25. data/test/factories/device_role.rb +6 -0
  26. data/test/factories/device_type.rb +30 -0
  27. data/test/factories/rack_group.rb +13 -14
  28. data/test/fixtures/foreman_datacenter/device_roles.yml +0 -1
  29. data/test/integration/foreman_datacenter/device_role_test.rb +35 -0
  30. data/test/integration/foreman_datacenter/device_type_test.rb +33 -0
  31. data/test/integration/foreman_datacenter/manufacturer_test.rb +33 -0
  32. data/test/integration/foreman_datacenter/platform_test.rb +35 -0
  33. data/test/integration/foreman_datacenter/rack_group_test.rb +35 -25
  34. data/test/integration/foreman_datacenter/rack_test.rb +37 -25
  35. data/test/integration/foreman_datacenter/site_test.rb +39 -29
  36. data/test/unit/foreman_datacenter_test.rb +1 -1
  37. metadata +60 -40
@@ -36,23 +36,22 @@ FactoryBot.define do
36
36
  # with_os_defaults
37
37
  # end
38
38
 
39
- trait :with_site do
40
- site { [FactoryBot.create(:site)] }
41
- end
42
-
43
- # trait :with_media do
44
- # media { [FactoryBot.create(:medium)] }
39
+ # trait :with_site do
40
+ # site { [FactoryBot.create(:site)] }
45
41
  # end
46
42
 
47
- # trait :with_ptables do
48
- # ptables { [FactoryBot.create(:ptable)] }
49
- # end
43
+ # # trait :with_media do
44
+ # # media { [FactoryBot.create(:medium)] }
45
+ # # end
50
46
 
51
- trait :with_associations do
52
- with_site
53
- # with_media
54
- # with_ptables
55
- end
47
+ # # trait :with_ptables do
48
+ # # ptables { [FactoryBot.create(:ptable)] }
49
+ # # end
50
+
51
+ # trait :with_associations do
52
+ # with_site
53
+ # with rack
54
+ # end
56
55
 
57
56
  # trait :with_parameter do
58
57
  # after(:create) do |os, evaluator|
@@ -6,7 +6,6 @@ one:
6
6
  created_at: "2013-12-04 08:41:06.182425"
7
7
  updated_at: "2013-12-04 08:41:06.182425"
8
8
 
9
-
10
9
  two:
11
10
  id: 2
12
11
  name: device_role_2
@@ -0,0 +1,35 @@
1
+ require 'integration_test_helper'
2
+
3
+ module ForemanDatacenter
4
+ class DeviceRoleIntegrationTest < ActionDispatch::IntegrationTest
5
+
6
+ before do
7
+ @device_role = ForemanDatacenter::DeviceRole.first
8
+ end
9
+
10
+ test "create new page" do
11
+ assert_new_button(device_roles_path,"Create Device Role",new_device_role_path)
12
+ fill_in "device_role_name", :with => "NewDR"
13
+ select 'Green', :from => "device_role_color"
14
+ assert_submit_button(device_roles_path)
15
+ assert page.has_link? "NewDR"
16
+ end
17
+
18
+ test "edit page" do
19
+ visit device_roles_path
20
+ click_link "Edit", :href => "/datacenter/device_roles/#{@device_role.id}/edit"
21
+ fill_in "device_role_name", :with => "DR"
22
+ select 'Red', :from => "device_role_color"
23
+ assert_submit_button(device_roles_path)
24
+ assert page.has_link? "DR"
25
+ end
26
+
27
+ test "show page" do
28
+ visit device_roles_path
29
+ click_link @device_role.name
30
+ assert page.has_link?("Edit", :href => "/datacenter/device_roles/#{@device_role.id}/edit")
31
+ assert page.has_link?("Delete", :href => "#")
32
+ end
33
+
34
+ end
35
+ end
@@ -0,0 +1,33 @@
1
+ require 'integration_test_helper'
2
+
3
+ module ForemanDatacenter
4
+ class DeviceTypeIntegrationTest < ActionDispatch::IntegrationTest
5
+ before do
6
+ @device_type = ForemanDatacenter::DeviceType.first
7
+ end
8
+
9
+ test 'create new page' do
10
+ assert_new_button(device_types_path, 'Create Device Type', new_device_type_path)
11
+ fill_in 'device_type_model', with: 'NewModel'
12
+ select 'manufacturer_2', from: 'device_type_manufacturer_id'
13
+ assert_submit_button(device_types_path)
14
+ assert page.has_link? 'NewModel'
15
+ end
16
+
17
+ test 'edit page' do
18
+ visit device_types_path
19
+ click_link 'Edit', href: "/datacenter/device_types/#{@device_type.id}/edit"
20
+ fill_in 'device_type_model', with: 'DR'
21
+ select 'manufacturer_3', from: 'device_type_manufacturer_id'
22
+ assert_submit_button(device_types_path)
23
+ assert page.has_link? 'DR'
24
+ end
25
+
26
+ test 'show page' do
27
+ visit device_types_path
28
+ click_link @device_type.model
29
+ assert page.has_link?('Edit', href: "/datacenter/device_types/#{@device_type.id}/edit")
30
+ assert page.has_link?('Delete', href: '#')
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,33 @@
1
+ require 'integration_test_helper'
2
+
3
+ module ForemanDatacenter
4
+ class ManufacturerIntegrationTest < ActionDispatch::IntegrationTest
5
+
6
+ before do
7
+ @manufacturer = ForemanDatacenter::Manufacturer.first
8
+ end
9
+
10
+ test "create new page" do
11
+ assert_new_button(manufacturers_path,"Create Manufacturer",new_manufacturer_path)
12
+ fill_in "manufacturer_name", :with => "New manufacturer"
13
+ assert_submit_button(manufacturers_path)
14
+ assert page.has_link? "New manufacturer"
15
+ end
16
+
17
+ test "edit page" do
18
+ visit manufacturers_path
19
+ click_link "Edit", :href => "/datacenter/manufacturers/#{@manufacturer.id}/edit"
20
+ fill_in "manufacturer_name", :with => "Another manufacturer"
21
+ assert_submit_button(manufacturers_path)
22
+ assert page.has_link? "Another manufacturer"
23
+ end
24
+
25
+ test "show page" do
26
+ visit manufacturers_path
27
+ click_link @manufacturer.name
28
+ assert page.has_link?("Edit", :href => "/datacenter/manufacturers/#{@manufacturer.id}/edit")
29
+ assert page.has_link?("Delete", :href => "#")
30
+ end
31
+
32
+ end
33
+ end
@@ -0,0 +1,35 @@
1
+ require 'integration_test_helper'
2
+
3
+ module ForemanDatacenter
4
+ class PlatformIntegrationTest < ActionDispatch::IntegrationTest
5
+
6
+ before do
7
+ @platform = ForemanDatacenter::Platform.first
8
+ end
9
+
10
+ test "create new page" do
11
+ assert_new_button(platforms_path,"Create Platform",new_platform_path)
12
+ fill_in "platform_name", :with => "New Platform"
13
+ select "Juniper Junos (NETCONF)", :from => "platform_rpc_client"
14
+ assert_submit_button(platforms_path)
15
+ assert page.has_link? "New Platform"
16
+ end
17
+
18
+ test "edit page" do
19
+ visit platforms_path
20
+ click_link "Edit", :href => "/datacenter/platforms/#{@platform.id}/edit"
21
+ fill_in "platform_name", :with => "Another Platform"
22
+ select "Opengear (SSH)", :from => "platform_rpc_client"
23
+ assert_submit_button(platforms_path)
24
+ assert page.has_link? "Another Platform"
25
+ end
26
+
27
+ test "show page" do
28
+ visit platforms_path
29
+ click_link @platform.name
30
+ assert page.has_link?("Edit", :href => "/datacenter/platforms/#{@platform.id}/edit")
31
+ assert page.has_link?("Delete", :href => "#")
32
+ end
33
+
34
+ end
35
+ end
@@ -1,25 +1,35 @@
1
- # require 'integration_test_helper'
2
- #
3
- # module ForemanDatacenter
4
- # class RackGroupIntegrationTest < ActionDispatch::IntegrationTest
5
- # test "index page" do
6
- # assert_index_page(rack_groups_path,"Rack Groups","New Rack Group")
7
- # end
8
- #
9
- # test "create new page" do
10
- # assert_new_button(rack_groups_path,"New Rack Group",new_rack_group_path)
11
- # fill_in "rack_group_name", :with => "Room 3"
12
- # fill_in "rack_group_site_id", :with => 1
13
- # assert_submit_button(rack_groups_path)
14
- # assert page.has_link? "Room 3"
15
- # end
16
- #
17
- # test "edit page" do
18
- # visit rack_groups_path
19
- # click_link "Room 3"
20
- # fill_in "rack_group_name", :with => "Room4"
21
- # assert_submit_button(rack_groups_path)
22
- # assert page.has_link? "Room4"
23
- # end
24
- # end
25
- # end
1
+ require 'integration_test_helper'
2
+
3
+ module ForemanDatacenter
4
+ class RackGroupIntegrationTest < ActionDispatch::IntegrationTest
5
+
6
+ before do
7
+ @rack_group = ForemanDatacenter::RackGroup.first
8
+ end
9
+
10
+ test "create new page" do
11
+ assert_new_button(rack_groups_path,"Create Rack Group",new_rack_group_path)
12
+ fill_in "rack_group_name", :with => "Room 3"
13
+ select 'site_2', :from => "rack_group_site_id"
14
+ assert_submit_button(rack_groups_path)
15
+ assert page.has_link? "Room 3"
16
+ end
17
+
18
+ test "edit page" do
19
+ visit rack_groups_path
20
+ click_link "Edit", :href => "/datacenter/rack_groups/#{@rack_group.id}/edit"
21
+ fill_in "rack_group_name", :with => "Room4"
22
+ assert_submit_button(rack_groups_path)
23
+ assert page.has_link? "Room4"
24
+ end
25
+
26
+ test "show page" do
27
+ visit rack_groups_path
28
+ click_link @rack_group.name
29
+ assert page.has_link?("Move associated objects", :href => "/datacenter/rack_groups/#{@rack_group.id}/move")
30
+ assert page.has_link?("Edit", :href => "/datacenter/rack_groups/#{@rack_group.id}/edit")
31
+ assert page.has_link?("Delete", :href => "#")
32
+ end
33
+
34
+ end
35
+ end
@@ -1,25 +1,37 @@
1
- # require 'integration_test_helper'
2
- #
3
- # module ForemanDatacenter
4
- # class RackIntegrationTest < ActionDispatch::IntegrationTest
5
- # test "index page" do
6
- # assert_index_page(racks_path,"Rack Groups","New Rack Group")
7
- # end
8
- #
9
- # test "create new page" do
10
- # assert_new_button(rack_groups_path,"New Rack Group",new_rack_group_path)
11
- # fill_in "rack_group_name", :with => "Room 3"
12
- # fill_in "rack_group_site_id", :with => 1
13
- # assert_submit_button(rack_groups_path)
14
- # assert page.has_link? "Room 3"
15
- # end
16
- #
17
- # test "edit page" do
18
- # visit rack_groups_path
19
- # click_link "Room 3"
20
- # fill_in "rack_group_name", :with => "Room4"
21
- # assert_submit_button(rack_groups_path)
22
- # assert page.has_link? "Room4"
23
- # end
24
- # end
25
- # end
1
+ require 'integration_test_helper'
2
+
3
+ module ForemanDatacenter
4
+ class RackIntegrationTest < ActionDispatch::IntegrationTest
5
+
6
+ before do
7
+ @rack = ForemanDatacenter::Rack.first
8
+ end
9
+
10
+ test "create new page" do
11
+ assert_new_button(racks_path,"Create Rack",new_rack_path)
12
+ select 'site_2', :from => "rack_site_id"
13
+ fill_in "rack_name", :with => "New Rack"
14
+ fill_in "rack_facility_id", :with => "1234"
15
+ fill_in "rack_height", :with => "10"
16
+ assert_submit_button(racks_path)
17
+ assert page.has_link? "New Rack"
18
+ end
19
+
20
+ test "edit page" do
21
+ visit racks_path
22
+ click_link "Edit", :href => "/datacenter/racks/#{@rack.id}/edit"
23
+ fill_in "rack_name", :with => "another_rack_1"
24
+ assert_submit_button(racks_path)
25
+ assert page.has_link? "another_rack_1"
26
+ end
27
+
28
+ test "show page" do
29
+ visit racks_path
30
+ click_link @rack.name
31
+ assert page.has_link?("Move associated objects", :href => "/datacenter/racks/#{@rack.id}/move")
32
+ assert page.has_link?("Edit", :href => "/datacenter/racks/#{@rack.id}/edit")
33
+ assert page.has_link?("Delete", :href => "#")
34
+ end
35
+
36
+ end
37
+ end
@@ -1,29 +1,39 @@
1
- # require 'integration_test_helper'
2
- #
3
- # module ForemanDatacenter
4
- # class SiteIntegrationTest < ActionDispatch::IntegrationTest
5
- # test "index page" do
6
- # assert_index_page(sites_path,"Sites","New Site")
7
- # end
8
- #
9
- # # test "create new page" do
10
- # # assert_new_button(sites_path,"New Site",new_site_path)
11
- # # fill_in "site_name", :with => "Site1"
12
- # # fill_in "site_facility", :with => "test facility"
13
- # # fill_in "site_asn", :with => 1
14
- # # fill_in "site_physical_address", :with => "physical address"
15
- # # fill_in "site_shipping_address", :with => "shipping address"
16
- # # fill_in "site_comments", :with => "comments"
17
- # # assert_submit_button(sites_path)
18
- # # assert page.has_link? 'Site1'
19
- # # end
20
- #
21
- # # test "edit page" do
22
- # # visit sites_path
23
- # # click_link "DC1"
24
- # # fill_in "site_name", :with => "DC 1"
25
- # # assert_submit_button(sites_path)
26
- # # assert page.has_link? 'DC 1'
27
- # # end
28
- # end
29
- # end
1
+ require 'integration_test_helper'
2
+
3
+ module ForemanDatacenter
4
+ class SiteIntegrationTest < ActionDispatch::IntegrationTest
5
+
6
+ before do
7
+ @site = ForemanDatacenter::Site.first
8
+ end
9
+
10
+ test "create new page" do
11
+ assert_new_button(sites_path,"Create Site",new_site_path)
12
+ fill_in "site_name", :with => "Site1"
13
+ fill_in "site_facility", :with => "test facility"
14
+ fill_in "site_asn", :with => 1
15
+ fill_in "site_physical_address", :with => "physical address"
16
+ fill_in "site_shipping_address", :with => "shipping address"
17
+ fill_in "site_comments", :with => "comments"
18
+ assert_submit_button(sites_path)
19
+ assert page.has_link? 'Site1'
20
+ end
21
+
22
+ test "edit page" do
23
+ visit sites_path
24
+ click_link "Edit", :href => "/datacenter/sites/#{@site.id}/edit"
25
+ fill_in "site_name", :with => "DC 1"
26
+ assert_submit_button(sites_path)
27
+ assert page.has_link? 'DC 1'
28
+ end
29
+
30
+ test "show page" do
31
+ visit sites_path
32
+ click_link @site.name
33
+ assert page.has_link?("Move associated objects", :href => "/datacenter/sites/#{@site.id}/move")
34
+ assert page.has_link?("Edit", :href => "/datacenter/sites/#{@site.id}/edit")
35
+ assert page.has_link?("Delete", :href => "#")
36
+ end
37
+
38
+ end
39
+ end
@@ -1,4 +1,4 @@
1
- require_relative '../test_plugin_helper'
1
+ require 'test_plugin_helper'
2
2
 
3
3
  class ForemanDatacenterTest < ActiveSupport::TestCase
4
4
  setup do
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_datacenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.0
4
+ version: 1.24.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Ivanov
8
8
  - Eugene Loginov
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-08-29 00:00:00.000000000 Z
12
+ date: 2020-11-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: prawn
@@ -92,6 +92,7 @@ files:
92
92
  - app/assets/stylesheets/foreman_datacenter/devices.css
93
93
  - app/assets/stylesheets/foreman_datacenter/horizontal-scroll.css
94
94
  - app/assets/stylesheets/foreman_datacenter/modal.css
95
+ - app/assets/stylesheets/foreman_datacenter/rack_show.css
95
96
  - app/assets/stylesheets/foreman_datacenter/title_filter.css
96
97
  - app/controllers/api/v2/foreman_datacenter/base_controller.rb
97
98
  - app/controllers/api/v2/foreman_datacenter/console_port_templates_controller.rb
@@ -463,6 +464,7 @@ files:
463
464
  - app/views/foreman_datacenter/rack_groups/show.html.erb
464
465
  - app/views/foreman_datacenter/rack_groups/welcome.html.erb
465
466
  - app/views/foreman_datacenter/racks/_device_position.html.erb
467
+ - app/views/foreman_datacenter/racks/_device_position_new.html.erb
466
468
  - app/views/foreman_datacenter/racks/_dp.html.erb
467
469
  - app/views/foreman_datacenter/racks/_form.html.erb
468
470
  - app/views/foreman_datacenter/racks/_rack_groups.html.erb
@@ -532,14 +534,19 @@ files:
532
534
  - locale/en/foreman_datacenter.po
533
535
  - locale/foreman_datacenter.pot
534
536
  - locale/gemspec.rb
537
+ - test/controllers/foreman_datacenter/device_roles_controller_test.rb
535
538
  - test/controllers/foreman_datacenter/device_types_contoller_test.rb
539
+ - test/controllers/foreman_datacenter/devices_controller_test.rb
536
540
  - test/controllers/foreman_datacenter/manufacturers_contoller_test.rb
541
+ - test/controllers/foreman_datacenter/manufacturers_controller_test.rb
537
542
  - test/controllers/foreman_datacenter/platforms_contoller_test.rb
538
543
  - test/controllers/foreman_datacenter/power_port_templates_contoller_test.rb
539
544
  - test/controllers/foreman_datacenter/rack_groups_contoller_test.rb
540
545
  - test/controllers/foreman_datacenter/racks_contoller_test.rb
541
546
  - test/controllers/foreman_datacenter/sites_contoller_test.rb
542
547
  - test/datacenter_helper.rb
548
+ - test/factories/device.rb
549
+ - test/factories/device_role.rb
543
550
  - test/factories/device_type.rb
544
551
  - test/factories/foreman_datacenter_factories.rb
545
552
  - test/factories/manufacturer.rb
@@ -571,15 +578,19 @@ files:
571
578
  - test/fixtures/foreman_datacenter/rack_groups.yml
572
579
  - test/fixtures/foreman_datacenter/racks.yml
573
580
  - test/fixtures/foreman_datacenter/sites.yml
581
+ - test/integration/foreman_datacenter/device_role_test.rb
582
+ - test/integration/foreman_datacenter/device_type_test.rb
583
+ - test/integration/foreman_datacenter/manufacturer_test.rb
584
+ - test/integration/foreman_datacenter/platform_test.rb
574
585
  - test/integration/foreman_datacenter/rack_group_test.rb
575
586
  - test/integration/foreman_datacenter/rack_test.rb
576
587
  - test/integration/foreman_datacenter/site_test.rb
577
588
  - test/test_plugin_helper.rb
578
589
  - test/unit/foreman_datacenter_test.rb
579
- homepage: https://github.com/cloudevelops/foreman_datacenter
590
+ homepage: https://github.com/theforeman/foreman_datacenter
580
591
  licenses: []
581
592
  metadata: {}
582
- post_install_message:
593
+ post_install_message:
583
594
  rdoc_options: []
584
595
  require_paths:
585
596
  - lib
@@ -594,52 +605,61 @@ required_rubygems_version: !ruby/object:Gem::Requirement
594
605
  - !ruby/object:Gem::Version
595
606
  version: '0'
596
607
  requirements: []
597
- rubygems_version: 3.0.3
598
- signing_key:
608
+ rubygems_version: 3.1.4
609
+ signing_key:
599
610
  specification_version: 4
600
611
  summary: A plugin that lets you document your servers in a datacenter
601
612
  test_files:
602
- - test/factories/rack_group.rb
603
- - test/factories/foreman_datacenter_factories.rb
604
- - test/factories/rack.rb
605
- - test/factories/platform.rb
606
- - test/factories/site.rb
607
- - test/factories/manufacturer.rb
608
- - test/factories/device_type.rb
609
- - test/unit/foreman_datacenter_test.rb
610
- - test/test_plugin_helper.rb
611
- - test/datacenter_helper.rb
612
- - test/fixtures/foreman_datacenter/device_interfaces.yml
613
+ - test/fixtures/foreman_datacenter/device_interface_connections.yml
613
614
  - test/fixtures/foreman_datacenter/console_server_port_templates.yml
614
- - test/fixtures/foreman_datacenter/interface_templates.yml
615
- - test/fixtures/foreman_datacenter/sites.yml
615
+ - test/fixtures/foreman_datacenter/rack_groups.yml
616
+ - test/fixtures/foreman_datacenter/device_bays.yml
617
+ - test/fixtures/foreman_datacenter/device_roles.yml
616
618
  - test/fixtures/foreman_datacenter/racks.yml
617
- - test/fixtures/foreman_datacenter/device_bay_templates.yml
619
+ - test/fixtures/foreman_datacenter/comments.yml
620
+ - test/fixtures/foreman_datacenter/sites.yml
621
+ - test/fixtures/foreman_datacenter/management_devices.yml
622
+ - test/fixtures/foreman_datacenter/interface_templates.yml
623
+ - test/fixtures/foreman_datacenter/device_modules.yml
624
+ - test/fixtures/foreman_datacenter/device_interfaces.yml
618
625
  - test/fixtures/foreman_datacenter/power_ports.yml
626
+ - test/fixtures/foreman_datacenter/devices.yml
627
+ - test/fixtures/foreman_datacenter/power_outlet_templates.yml
628
+ - test/fixtures/foreman_datacenter/platforms.yml
629
+ - test/fixtures/foreman_datacenter/device_bay_templates.yml
630
+ - test/fixtures/foreman_datacenter/power_port_templates.yml
619
631
  - test/fixtures/foreman_datacenter/console_ports.yml
620
- - test/fixtures/foreman_datacenter/management_devices.yml
632
+ - test/fixtures/foreman_datacenter/console_port_templates.yml
621
633
  - test/fixtures/foreman_datacenter/device_types.yml
622
- - test/fixtures/foreman_datacenter/platforms.yml
623
- - test/fixtures/foreman_datacenter/device_interface_connections.yml
634
+ - test/fixtures/foreman_datacenter/power_outlets.yml
624
635
  - test/fixtures/foreman_datacenter/console_server_ports.yml
625
- - test/fixtures/foreman_datacenter/devices.yml
626
- - test/fixtures/foreman_datacenter/console_port_templates.yml
627
- - test/fixtures/foreman_datacenter/device_roles.yml
628
636
  - test/fixtures/foreman_datacenter/manufacturers.yml
629
- - test/fixtures/foreman_datacenter/device_bays.yml
630
- - test/fixtures/foreman_datacenter/power_outlet_templates.yml
631
- - test/fixtures/foreman_datacenter/rack_groups.yml
632
- - test/fixtures/foreman_datacenter/comments.yml
633
- - test/fixtures/foreman_datacenter/device_modules.yml
634
- - test/fixtures/foreman_datacenter/power_outlets.yml
635
- - test/fixtures/foreman_datacenter/power_port_templates.yml
636
- - test/controllers/foreman_datacenter/racks_contoller_test.rb
637
- - test/controllers/foreman_datacenter/device_types_contoller_test.rb
638
- - test/controllers/foreman_datacenter/platforms_contoller_test.rb
637
+ - test/controllers/foreman_datacenter/manufacturers_contoller_test.rb
639
638
  - test/controllers/foreman_datacenter/rack_groups_contoller_test.rb
640
- - test/controllers/foreman_datacenter/sites_contoller_test.rb
639
+ - test/controllers/foreman_datacenter/device_roles_controller_test.rb
641
640
  - test/controllers/foreman_datacenter/power_port_templates_contoller_test.rb
642
- - test/controllers/foreman_datacenter/manufacturers_contoller_test.rb
641
+ - test/controllers/foreman_datacenter/devices_controller_test.rb
642
+ - test/controllers/foreman_datacenter/sites_contoller_test.rb
643
+ - test/controllers/foreman_datacenter/device_types_contoller_test.rb
644
+ - test/controllers/foreman_datacenter/platforms_contoller_test.rb
645
+ - test/controllers/foreman_datacenter/manufacturers_controller_test.rb
646
+ - test/controllers/foreman_datacenter/racks_contoller_test.rb
647
+ - test/test_plugin_helper.rb
648
+ - test/unit/foreman_datacenter_test.rb
649
+ - test/datacenter_helper.rb
650
+ - test/factories/foreman_datacenter_factories.rb
651
+ - test/factories/rack.rb
652
+ - test/factories/device_role.rb
653
+ - test/factories/site.rb
654
+ - test/factories/device_type.rb
655
+ - test/factories/device.rb
656
+ - test/factories/rack_group.rb
657
+ - test/factories/manufacturer.rb
658
+ - test/factories/platform.rb
659
+ - test/integration/foreman_datacenter/device_role_test.rb
660
+ - test/integration/foreman_datacenter/manufacturer_test.rb
661
+ - test/integration/foreman_datacenter/rack_test.rb
643
662
  - test/integration/foreman_datacenter/site_test.rb
663
+ - test/integration/foreman_datacenter/platform_test.rb
644
664
  - test/integration/foreman_datacenter/rack_group_test.rb
645
- - test/integration/foreman_datacenter/rack_test.rb
665
+ - test/integration/foreman_datacenter/device_type_test.rb