Skip to content

Commit

Permalink
camelize the power state column
Browse files Browse the repository at this point in the history
  • Loading branch information
felipedf committed May 10, 2018
1 parent 4d68098 commit c2755bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module ManageIQ::Providers::Lenovo
# 1.3
class PhysicalInfraManager::Parser::ParserDictionaryConstants
POWER_STATE_MAP = {
8 => "on",
5 => "off",
8 => "On",
5 => "Off",
18 => "Standby",
0 => "Unknown",
}.freeze
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def assert_specific_server

expect(server.name).to eq("IMM2-e41f13ed5a1e")
expect(server.health_state).to eq("Valid")
expect(server.power_state).to eq("on")
expect(server.power_state).to eq("On")
expect(server.vendor).to eq("lenovo")
expect(server.ems_id).to be_truthy
expect(server.physical_rack_id).to be_truthy
Expand Down

0 comments on commit c2755bd

Please sign in to comment.