mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
Change datetime to RFC3339 for start_time and end_time
This commit is contained in:
parent
d602057cf2
commit
14329f8907
2 changed files with 4 additions and 4 deletions
|
|
@ -50,8 +50,8 @@ describe Vmpooler::API::V1 do
|
|||
expect(response_body["lifetime"]).to eq(0)
|
||||
expect(response_body["running"]).to be >= 0
|
||||
expect(response_body["remaining"]).to be <= 0
|
||||
expect(response_body["start_time"]).to eq("#{current_time}")
|
||||
expect(response_body["end_time"]).to eq("#{current_time}")
|
||||
expect(response_body["start_time"]).to eq(current_time.to_datetime.rfc3339)
|
||||
expect(response_body["end_time"]).to eq(current_time.to_datetime.rfc3339)
|
||||
expect(response_body["state"]).to eq("running")
|
||||
expect(response_body["ip"]).to eq("")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue