mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ibm] Typos in state names and status vs. state
This commit is contained in:
parent
08b5104a4a
commit
aad19e2ca4
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ module Fog
|
||||||
|
|
||||||
STATES = [
|
STATES = [
|
||||||
"New", # => 0
|
"New", # => 0
|
||||||
"Provsioning", # => 1
|
"Provisioning", # => 1
|
||||||
"Failed", # => 2
|
"Failed", # => 2
|
||||||
"Removed", # => 3
|
"Removed", # => 3
|
||||||
"Rejected", # => 4
|
"Rejected", # => 4
|
||||||
|
|
|
@ -42,7 +42,7 @@ Shindo.tests('Fog::Compute[:ibm] | server', ['ibm']) do
|
||||||
end
|
end
|
||||||
|
|
||||||
tests('Fog::Compute::IBM::Server#status') do
|
tests('Fog::Compute::IBM::Server#status') do
|
||||||
returns("Active") { @server.status }
|
returns("Active") { @server.state }
|
||||||
end
|
end
|
||||||
|
|
||||||
tests('Fog::Compute::IBM::Server#reboot') do
|
tests('Fog::Compute::IBM::Server#reboot') do
|
||||||
|
|
Loading…
Reference in a new issue