mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
(rubocop) Fix Layout/IndentHeredoc
This commit is contained in:
parent
851009b1f6
commit
7d9545f202
2 changed files with 103 additions and 103 deletions
|
|
@ -27,7 +27,7 @@ describe NonstandardPooler do
|
|||
|
||||
describe '#list' do
|
||||
before :each do
|
||||
@status_response_body = <<-BODY
|
||||
@status_response_body = <<~BODY
|
||||
{
|
||||
"ok": true,
|
||||
"solaris-10-sparc": {
|
||||
|
|
@ -75,7 +75,7 @@ describe NonstandardPooler do
|
|||
|
||||
describe '#list_active' do
|
||||
before :each do
|
||||
@token_status_body_active = <<-BODY
|
||||
@token_status_body_active = <<~BODY
|
||||
{
|
||||
"ok": true,
|
||||
"user": "first.last",
|
||||
|
|
@ -84,7 +84,7 @@ describe NonstandardPooler do
|
|||
"reserved_hosts": ["sol10-9", "sol10-11"]
|
||||
}
|
||||
BODY
|
||||
@token_status_body_empty = <<-BODY
|
||||
@token_status_body_empty = <<~BODY
|
||||
{
|
||||
"ok": true,
|
||||
"user": "first.last",
|
||||
|
|
@ -107,7 +107,7 @@ BODY
|
|||
|
||||
describe '#retrieve' do
|
||||
before :each do
|
||||
@retrieve_response_body_single = <<-BODY
|
||||
@retrieve_response_body_single = <<~BODY
|
||||
{
|
||||
"ok": true,
|
||||
"solaris-11-sparc": {
|
||||
|
|
@ -115,7 +115,7 @@ BODY
|
|||
}
|
||||
}
|
||||
BODY
|
||||
@retrieve_response_body_many = <<-BODY
|
||||
@retrieve_response_body_many = <<~BODY
|
||||
{
|
||||
"ok": true,
|
||||
"solaris-10-sparc": {
|
||||
|
|
@ -199,7 +199,7 @@ BODY
|
|||
before :each do
|
||||
@status_response_body = '{"capacity":{"current":716,"total":717,"percent": 99.9},"status":{"ok":true,"message":"Battle station fully armed and operational."}}'
|
||||
# TODO: make this report stuff like 'broken'
|
||||
@status_response_body = <<-BODY
|
||||
@status_response_body = <<~BODY
|
||||
{
|
||||
"ok": true,
|
||||
"solaris-10-sparc": {
|
||||
|
|
@ -230,7 +230,7 @@ BODY
|
|||
|
||||
describe '#summary' do
|
||||
before :each do
|
||||
@status_response_body = <<-BODY
|
||||
@status_response_body = <<~BODY
|
||||
{
|
||||
"ok": true,
|
||||
"total": 57,
|
||||
|
|
@ -254,7 +254,7 @@ BODY
|
|||
|
||||
describe '#query' do
|
||||
before :each do
|
||||
@query_response_body = <<-BODY
|
||||
@query_response_body = <<~BODY
|
||||
{
|
||||
"ok": true,
|
||||
"sol10-11": {
|
||||
|
|
|
|||
|
|
@ -52,12 +52,12 @@ describe Utils do
|
|||
'solaris-10-sparc' => ['sol10-10.delivery.mycompany.net', 'sol10-11.delivery.mycompany.net'],
|
||||
'ubuntu-16.04-power8' => ['power8-ubuntu16.04-6.delivery.mycompany.net'],
|
||||
}
|
||||
@vmpooler_output = <<-OUT.chomp
|
||||
@vmpooler_output = <<~OUT.chomp
|
||||
- dlgietfmgeegry2.delivery.mycompany.net (centos-7-x86_64)
|
||||
- gdoy8q3nckuob0i.delivery.mycompany.net (ubuntu-1610-x86_64)
|
||||
- ctnktsd0u11p9tm.delivery.mycompany.net (ubuntu-1610-x86_64)
|
||||
OUT
|
||||
@nonstandard_output = <<-OUT.chomp
|
||||
@nonstandard_output = <<~OUT.chomp
|
||||
- sol10-10.delivery.mycompany.net (solaris-10-sparc)
|
||||
- sol10-11.delivery.mycompany.net (solaris-10-sparc)
|
||||
- power8-ubuntu16.04-6.delivery.mycompany.net (ubuntu-16.04-power8)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue