summaryrefslogtreecommitdiff
path: root/spec/functional
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional')
-rw-r--r--spec/functional/resource/apt_package_spec.rb2
-rw-r--r--spec/functional/resource/dsc_script_spec.rb18
-rw-r--r--spec/functional/resource/execute_spec.rb4
-rw-r--r--spec/functional/resource/git_spec.rb2
4 files changed, 13 insertions, 13 deletions
diff --git a/spec/functional/resource/apt_package_spec.rb b/spec/functional/resource/apt_package_spec.rb
index c1ac51c4b1..ad4378b83a 100644
--- a/spec/functional/resource/apt_package_spec.rb
+++ b/spec/functional/resource/apt_package_spec.rb
@@ -89,7 +89,7 @@ end
metadata = { unix_only: true,
requires_root: true,
provider: { package: Chef::Provider::Package::Apt },
- arch: "x86_64" # test packages are 64bit
+ arch: "x86_64", # test packages are 64bit
}
describe Chef::Resource::AptPackage, metadata do
diff --git a/spec/functional/resource/dsc_script_spec.rb b/spec/functional/resource/dsc_script_spec.rb
index 1caa07d105..04a65acae7 100644
--- a/spec/functional/resource/dsc_script_spec.rb
+++ b/spec/functional/resource/dsc_script_spec.rb
@@ -103,7 +103,7 @@ describe Chef::Resource::DscScript, :windows_powershell_dsc_only do
ValueData = '#{test_registry_data}'
Ensure = 'Present'
}
-EOH
+ EOH
end
let(:dsc_code) { dsc_reg_code }
@@ -111,7 +111,7 @@ EOH
<<-EOH
param($testregkeyname, $testregvaluename)
#{dsc_reg_code}
-EOH
+ EOH
end
let(:dsc_user_prefix) { "dsc" }
@@ -138,7 +138,7 @@ EOH
$#{dsc_user_prefix_param_name},
$#{dsc_user_suffix_param_name}
)
-EOH
+ EOH
end
let(:config_param_section) { "" }
@@ -166,7 +166,7 @@ EOH
PasswordChangeRequired = $false
}
}
-EOH
+ EOH
end
let(:dsc_user_config_data) do
@@ -180,7 +180,7 @@ EOH
)
}
-EOH
+ EOH
end
let(:dsc_environment_env_var_name) { "dsc_test_cwd" }
@@ -199,7 +199,7 @@ EOH
Value = $pwd.path
Ensure = 'Present'
}
-EOH
+ EOH
end
let(:dsc_config_name) do
@@ -249,7 +249,7 @@ EOH
Name = '#{dsc_environment_env_var_name}'
Ensure = 'Absent'
}
-EOH
+ EOH
removal_resource.run_action(:run)
end
@@ -448,7 +448,7 @@ EOH
}
"@
$ConfigurationData | out-file '#{configuration_data_path}' -force
- MYCODE
+ MYCODE
end
let(:powershell_script_resource) do
@@ -467,7 +467,7 @@ EOH
Password = #{r.ps_credential('jf9a8m49jrajf4#')}
Ensure = "Present"
}
-EOF
+ EOF
r.configuration_data_script(configuration_data_path)
end
end
diff --git a/spec/functional/resource/execute_spec.rb b/spec/functional/resource/execute_spec.rb
index 3ad8762169..3e57795f73 100644
--- a/spec/functional/resource/execute_spec.rb
+++ b/spec/functional/resource/execute_spec.rb
@@ -87,8 +87,8 @@ describe Chef::Resource::Execute do
describe "when parent resource sets :environment" do
before do
resource.environment({
- "SAWS_SECRET" => "supersecret",
- "SAWS_KEY" => "qwerty",
+ "SAWS_SECRET" => "supersecret",
+ "SAWS_KEY" => "qwerty",
})
end
diff --git a/spec/functional/resource/git_spec.rb b/spec/functional/resource/git_spec.rb
index 16cde6351a..67021f6901 100644
--- a/spec/functional/resource/git_spec.rb
+++ b/spec/functional/resource/git_spec.rb
@@ -69,7 +69,7 @@ describe Chef::Resource::Git, requires_git: true do
[user]
name = frodoTbaggins
email = frodo@shire.org
-E
+ E
end
before(:each) do