Skip to content

Commit

Permalink
Merge pull request #171 from felipedf/power_state_on
Browse files Browse the repository at this point in the history
camelize the power state column
  • Loading branch information
agrare authored May 14, 2018
2 parents 4d68098 + c2755bd commit 8a1b36d
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 8a1b36d

Please sign in to comment.