foreman_datacenter 1.22.1 → 1.24.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/foreman_datacenter/application_controller.rb +2 -0
  3. data/app/controllers/foreman_datacenter/racks_controller.rb +8 -1
  4. data/app/models/foreman_datacenter/rack.rb +36 -0
  5. data/app/views/foreman_datacenter/device_roles/show.html.erb +1 -2
  6. data/app/views/foreman_datacenter/device_types/show.html.erb +1 -2
  7. data/app/views/foreman_datacenter/manufacturers/show.html.erb +1 -2
  8. data/app/views/foreman_datacenter/platforms/show.html.erb +1 -2
  9. data/app/views/foreman_datacenter/rack_groups/show.html.erb +1 -2
  10. data/app/views/foreman_datacenter/racks/_device_position.html.erb +10 -1
  11. data/app/views/foreman_datacenter/racks/show.html.erb +1 -2
  12. data/app/views/foreman_datacenter/sites/show.html.erb +1 -2
  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 +56 -37
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_datacenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.1
4
+ version: 1.24.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Ivanov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-08-15 00:00:00.000000000 Z
12
+ date: 2020-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: prawn
@@ -532,14 +532,19 @@ files:
532
532
  - locale/en/foreman_datacenter.po
533
533
  - locale/foreman_datacenter.pot
534
534
  - locale/gemspec.rb
535
+ - test/controllers/foreman_datacenter/device_roles_controller_test.rb
535
536
  - test/controllers/foreman_datacenter/device_types_contoller_test.rb
537
+ - test/controllers/foreman_datacenter/devices_controller_test.rb
536
538
  - test/controllers/foreman_datacenter/manufacturers_contoller_test.rb
539
+ - test/controllers/foreman_datacenter/manufacturers_controller_test.rb
537
540
  - test/controllers/foreman_datacenter/platforms_contoller_test.rb
538
541
  - test/controllers/foreman_datacenter/power_port_templates_contoller_test.rb
539
542
  - test/controllers/foreman_datacenter/rack_groups_contoller_test.rb
540
543
  - test/controllers/foreman_datacenter/racks_contoller_test.rb
541
544
  - test/controllers/foreman_datacenter/sites_contoller_test.rb
542
545
  - test/datacenter_helper.rb
546
+ - test/factories/device.rb
547
+ - test/factories/device_role.rb
543
548
  - test/factories/device_type.rb
544
549
  - test/factories/foreman_datacenter_factories.rb
545
550
  - test/factories/manufacturer.rb
@@ -571,12 +576,16 @@ files:
571
576
  - test/fixtures/foreman_datacenter/rack_groups.yml
572
577
  - test/fixtures/foreman_datacenter/racks.yml
573
578
  - test/fixtures/foreman_datacenter/sites.yml
579
+ - test/integration/foreman_datacenter/device_role_test.rb
580
+ - test/integration/foreman_datacenter/device_type_test.rb
581
+ - test/integration/foreman_datacenter/manufacturer_test.rb
582
+ - test/integration/foreman_datacenter/platform_test.rb
574
583
  - test/integration/foreman_datacenter/rack_group_test.rb
575
584
  - test/integration/foreman_datacenter/rack_test.rb
576
585
  - test/integration/foreman_datacenter/site_test.rb
577
586
  - test/test_plugin_helper.rb
578
587
  - test/unit/foreman_datacenter_test.rb
579
- homepage: https://github.com/cloudevelops/foreman_datacenter
588
+ homepage: https://github.com/theforeman/foreman_datacenter
580
589
  licenses: []
581
590
  metadata: {}
582
591
  post_install_message:
@@ -594,52 +603,62 @@ required_rubygems_version: !ruby/object:Gem::Requirement
594
603
  - !ruby/object:Gem::Version
595
604
  version: '0'
596
605
  requirements: []
597
- rubygems_version: 3.0.3
606
+ rubyforge_project:
607
+ rubygems_version: 2.7.6
598
608
  signing_key:
599
609
  specification_version: 4
600
610
  summary: A plugin that lets you document your servers in a datacenter
601
611
  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
612
+ - test/fixtures/foreman_datacenter/device_interface_connections.yml
613
613
  - test/fixtures/foreman_datacenter/console_server_port_templates.yml
614
- - test/fixtures/foreman_datacenter/interface_templates.yml
615
- - test/fixtures/foreman_datacenter/sites.yml
614
+ - test/fixtures/foreman_datacenter/rack_groups.yml
615
+ - test/fixtures/foreman_datacenter/device_bays.yml
616
+ - test/fixtures/foreman_datacenter/device_roles.yml
616
617
  - test/fixtures/foreman_datacenter/racks.yml
617
- - test/fixtures/foreman_datacenter/device_bay_templates.yml
618
+ - test/fixtures/foreman_datacenter/comments.yml
619
+ - test/fixtures/foreman_datacenter/sites.yml
620
+ - test/fixtures/foreman_datacenter/management_devices.yml
621
+ - test/fixtures/foreman_datacenter/interface_templates.yml
622
+ - test/fixtures/foreman_datacenter/device_modules.yml
623
+ - test/fixtures/foreman_datacenter/device_interfaces.yml
618
624
  - test/fixtures/foreman_datacenter/power_ports.yml
625
+ - test/fixtures/foreman_datacenter/devices.yml
626
+ - test/fixtures/foreman_datacenter/power_outlet_templates.yml
627
+ - test/fixtures/foreman_datacenter/platforms.yml
628
+ - test/fixtures/foreman_datacenter/device_bay_templates.yml
629
+ - test/fixtures/foreman_datacenter/power_port_templates.yml
619
630
  - test/fixtures/foreman_datacenter/console_ports.yml
620
- - test/fixtures/foreman_datacenter/management_devices.yml
631
+ - test/fixtures/foreman_datacenter/console_port_templates.yml
621
632
  - test/fixtures/foreman_datacenter/device_types.yml
622
- - test/fixtures/foreman_datacenter/platforms.yml
623
- - test/fixtures/foreman_datacenter/device_interface_connections.yml
633
+ - test/fixtures/foreman_datacenter/power_outlets.yml
624
634
  - 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
635
  - 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
636
+ - test/controllers/foreman_datacenter/manufacturers_contoller_test.rb
639
637
  - test/controllers/foreman_datacenter/rack_groups_contoller_test.rb
640
- - test/controllers/foreman_datacenter/sites_contoller_test.rb
638
+ - test/controllers/foreman_datacenter/device_roles_controller_test.rb
641
639
  - test/controllers/foreman_datacenter/power_port_templates_contoller_test.rb
642
- - test/controllers/foreman_datacenter/manufacturers_contoller_test.rb
640
+ - test/controllers/foreman_datacenter/devices_controller_test.rb
641
+ - test/controllers/foreman_datacenter/sites_contoller_test.rb
642
+ - test/controllers/foreman_datacenter/device_types_contoller_test.rb
643
+ - test/controllers/foreman_datacenter/platforms_contoller_test.rb
644
+ - test/controllers/foreman_datacenter/manufacturers_controller_test.rb
645
+ - test/controllers/foreman_datacenter/racks_contoller_test.rb
646
+ - test/test_plugin_helper.rb
647
+ - test/unit/foreman_datacenter_test.rb
648
+ - test/datacenter_helper.rb
649
+ - test/factories/foreman_datacenter_factories.rb
650
+ - test/factories/rack.rb
651
+ - test/factories/device_role.rb
652
+ - test/factories/site.rb
653
+ - test/factories/device_type.rb
654
+ - test/factories/device.rb
655
+ - test/factories/rack_group.rb
656
+ - test/factories/manufacturer.rb
657
+ - test/factories/platform.rb
658
+ - test/integration/foreman_datacenter/device_role_test.rb
659
+ - test/integration/foreman_datacenter/manufacturer_test.rb
660
+ - test/integration/foreman_datacenter/rack_test.rb
643
661
  - test/integration/foreman_datacenter/site_test.rb
662
+ - test/integration/foreman_datacenter/platform_test.rb
644
663
  - test/integration/foreman_datacenter/rack_group_test.rb
645
- - test/integration/foreman_datacenter/rack_test.rb
664
+ - test/integration/foreman_datacenter/device_type_test.rb