diff options
Diffstat (limited to 'spec/unit/resource')
22 files changed, 23 insertions, 23 deletions
diff --git a/spec/unit/resource/apt_package_spec.rb b/spec/unit/resource/apt_package_spec.rb index 41cdb04a1e..78eccfb444 100644 --- a/spec/unit/resource/apt_package_spec.rb +++ b/spec/unit/resource/apt_package_spec.rb @@ -26,7 +26,7 @@ describe Chef::Resource::AptPackage, "initialize" do provider: Chef::Provider::Package::Apt, name: :apt_package, action: :install, - os: "linux", + os: "linux" ) let(:resource) { Chef::Resource::AptPackage.new("foo") } diff --git a/spec/unit/resource/breakpoint_spec.rb b/spec/unit/resource/breakpoint_spec.rb index 585bcadc68..a5b27bae16 100644 --- a/spec/unit/resource/breakpoint_spec.rb +++ b/spec/unit/resource/breakpoint_spec.rb @@ -25,7 +25,7 @@ describe Chef::Resource::Breakpoint do resource: Chef::Resource::Breakpoint, provider: Chef::Provider::Breakpoint, name: :breakpoint, - action: :break, + action: :break ) before do diff --git a/spec/unit/resource/chef_gem_spec.rb b/spec/unit/resource/chef_gem_spec.rb index 1b1439d7f2..0de9247196 100644 --- a/spec/unit/resource/chef_gem_spec.rb +++ b/spec/unit/resource/chef_gem_spec.rb @@ -26,7 +26,7 @@ describe Chef::Resource::ChefGem, "initialize" do resource: Chef::Resource::ChefGem, provider: Chef::Provider::Package::Rubygems, name: :chef_gem, - action: :install, + action: :install ) end diff --git a/spec/unit/resource/deploy_revision_spec.rb b/spec/unit/resource/deploy_revision_spec.rb index 4cbae68ca2..aa12b9595d 100644 --- a/spec/unit/resource/deploy_revision_spec.rb +++ b/spec/unit/resource/deploy_revision_spec.rb @@ -25,7 +25,7 @@ describe Chef::Resource::DeployRevision do resource: Chef::Resource::DeployRevision, provider: Chef::Provider::Deploy::Revision, name: :deploy_revision, - action: :deploy, + action: :deploy ) end @@ -36,7 +36,7 @@ describe Chef::Resource::DeployBranch do resource: Chef::Resource::DeployBranch, provider: Chef::Provider::Deploy::Revision, name: :deploy_branch, - action: :deploy, + action: :deploy ) end diff --git a/spec/unit/resource/deploy_spec.rb b/spec/unit/resource/deploy_spec.rb index 0eeb51c8a0..33f16b4a89 100644 --- a/spec/unit/resource/deploy_spec.rb +++ b/spec/unit/resource/deploy_spec.rb @@ -25,7 +25,7 @@ describe Chef::Resource::Deploy do resource: Chef::Resource::Deploy, provider: Chef::Provider::Deploy::Timestamped, name: :deploy, - action: :deploy, + action: :deploy ) class << self diff --git a/spec/unit/resource/dpkg_package_spec.rb b/spec/unit/resource/dpkg_package_spec.rb index 7bfe268d7d..66ad86b861 100644 --- a/spec/unit/resource/dpkg_package_spec.rb +++ b/spec/unit/resource/dpkg_package_spec.rb @@ -26,7 +26,7 @@ describe Chef::Resource::DpkgPackage, "initialize" do provider: Chef::Provider::Package::Dpkg, name: :dpkg_package, action: :install, - os: "linux", + os: "linux" ) end diff --git a/spec/unit/resource/easy_install_package_spec.rb b/spec/unit/resource/easy_install_package_spec.rb index 9747e57f65..ce8e6d8bf6 100644 --- a/spec/unit/resource/easy_install_package_spec.rb +++ b/spec/unit/resource/easy_install_package_spec.rb @@ -25,7 +25,7 @@ describe Chef::Resource::EasyInstallPackage, "initialize" do resource: Chef::Resource::EasyInstallPackage, provider: Chef::Provider::Package::EasyInstall, name: :easy_install_package, - action: :install, + action: :install ) before(:each) do diff --git a/spec/unit/resource/gem_package_spec.rb b/spec/unit/resource/gem_package_spec.rb index de6341d0ea..a1571ab9bb 100644 --- a/spec/unit/resource/gem_package_spec.rb +++ b/spec/unit/resource/gem_package_spec.rb @@ -25,7 +25,7 @@ describe Chef::Resource::GemPackage, "initialize" do resource: Chef::Resource::GemPackage, provider: Chef::Provider::Package::Rubygems, name: :gem_package, - action: :install, + action: :install ) end diff --git a/spec/unit/resource/git_spec.rb b/spec/unit/resource/git_spec.rb index 18d6216287..15c1e54f25 100644 --- a/spec/unit/resource/git_spec.rb +++ b/spec/unit/resource/git_spec.rb @@ -25,7 +25,7 @@ describe Chef::Resource::Git do resource: Chef::Resource::Git, provider: Chef::Provider::Git, name: :git, - action: :sync, + action: :sync ) before(:each) do diff --git a/spec/unit/resource/homebrew_package_spec.rb b/spec/unit/resource/homebrew_package_spec.rb index dad9573971..cfcfcd9c3a 100644 --- a/spec/unit/resource/homebrew_package_spec.rb +++ b/spec/unit/resource/homebrew_package_spec.rb @@ -25,7 +25,7 @@ describe Chef::Resource::HomebrewPackage, "initialize" do provider: Chef::Provider::Package::Homebrew, name: :homebrew_package, action: :install, - os: "mac_os_x", + os: "mac_os_x" ) let(:resource) { Chef::Resource::HomebrewPackage.new("emacs") } diff --git a/spec/unit/resource/ips_package_spec.rb b/spec/unit/resource/ips_package_spec.rb index 62656bcf8e..fd1fe2840c 100644 --- a/spec/unit/resource/ips_package_spec.rb +++ b/spec/unit/resource/ips_package_spec.rb @@ -26,7 +26,7 @@ describe Chef::Resource::IpsPackage, "initialize" do provider: Chef::Provider::Package::Ips, name: :ips_package, action: :install, - os: "solaris2", + os: "solaris2" ) before(:each) do diff --git a/spec/unit/resource/launchd_spec.rb b/spec/unit/resource/launchd_spec.rb index 8843ec606d..95febc47cf 100644 --- a/spec/unit/resource/launchd_spec.rb +++ b/spec/unit/resource/launchd_spec.rb @@ -6,7 +6,7 @@ describe Chef::Resource::Launchd do @launchd = Chef::Resource::Launchd.new("io.chef.chef-client") let(:resource) { Chef::Resource::Launchd.new( "io.chef.chef-client", - run_context, + run_context )} it "should create a new Chef::Resource::Launchd" do diff --git a/spec/unit/resource/macports_package_spec.rb b/spec/unit/resource/macports_package_spec.rb index 1aee070fdf..62346def2d 100644 --- a/spec/unit/resource/macports_package_spec.rb +++ b/spec/unit/resource/macports_package_spec.rb @@ -26,7 +26,7 @@ describe Chef::Resource::MacportsPackage, "initialize" do provider: Chef::Provider::Package::Macports, name: :macports_package, action: :install, - os: "mac_os_x", + os: "mac_os_x" ) end diff --git a/spec/unit/resource/pacman_package_spec.rb b/spec/unit/resource/pacman_package_spec.rb index 000470b3d1..b9d2ea21f6 100644 --- a/spec/unit/resource/pacman_package_spec.rb +++ b/spec/unit/resource/pacman_package_spec.rb @@ -26,7 +26,7 @@ describe Chef::Resource::PacmanPackage, "initialize" do provider: Chef::Provider::Package::Pacman, name: :pacman_package, action: :install, - os: "linux", + os: "linux" ) end diff --git a/spec/unit/resource/rpm_package_spec.rb b/spec/unit/resource/rpm_package_spec.rb index 1a0089b4cd..e1488f1dd1 100644 --- a/spec/unit/resource/rpm_package_spec.rb +++ b/spec/unit/resource/rpm_package_spec.rb @@ -27,7 +27,7 @@ describe Chef::Resource::RpmPackage, "initialize" do provider: Chef::Provider::Package::Rpm, name: :rpm_package, action: :install, - os: os, + os: os ) end diff --git a/spec/unit/resource/smartos_package_spec.rb b/spec/unit/resource/smartos_package_spec.rb index 8b1fb2e150..56c0fbdb8b 100644 --- a/spec/unit/resource/smartos_package_spec.rb +++ b/spec/unit/resource/smartos_package_spec.rb @@ -27,7 +27,7 @@ describe Chef::Resource::SmartosPackage, "initialize" do name: :smartos_package, action: :install, os: "solaris2", - platform_family: "smartos", + platform_family: "smartos" ) end diff --git a/spec/unit/resource/solaris_package_spec.rb b/spec/unit/resource/solaris_package_spec.rb index 80d84c1bf5..1f1ef4da30 100644 --- a/spec/unit/resource/solaris_package_spec.rb +++ b/spec/unit/resource/solaris_package_spec.rb @@ -28,7 +28,7 @@ describe Chef::Resource::SolarisPackage, "initialize" do name: :solaris_package, action: :install, os: "solaris2", - platform_family: platform_family, + platform_family: platform_family ) end diff --git a/spec/unit/resource/subversion_spec.rb b/spec/unit/resource/subversion_spec.rb index 47b8ddfdeb..a2901bf53b 100644 --- a/spec/unit/resource/subversion_spec.rb +++ b/spec/unit/resource/subversion_spec.rb @@ -25,7 +25,7 @@ describe Chef::Resource::Subversion do resource: Chef::Resource::Subversion, provider: Chef::Provider::Subversion, name: :subversion, - action: :install, + action: :install ) before do diff --git a/spec/unit/resource/timestamped_deploy_spec.rb b/spec/unit/resource/timestamped_deploy_spec.rb index ad7ebe7a2e..5a2dc8ae02 100644 --- a/spec/unit/resource/timestamped_deploy_spec.rb +++ b/spec/unit/resource/timestamped_deploy_spec.rb @@ -26,7 +26,7 @@ describe Chef::Resource::TimestampedDeploy, "initialize" do name: :timestamped_deploy, action: :deploy, os: "linux", - platform_family: "rhel", + platform_family: "rhel" ) end diff --git a/spec/unit/resource/windows_package_spec.rb b/spec/unit/resource/windows_package_spec.rb index 05c40bfa93..5aa3707199 100644 --- a/spec/unit/resource/windows_package_spec.rb +++ b/spec/unit/resource/windows_package_spec.rb @@ -28,7 +28,7 @@ describe Chef::Resource::WindowsPackage, "initialize" do provider: Chef::Provider::Package::Windows, os: "windows", name: :windows_package, - action: :start, + action: :start ) let(:resource) { Chef::Resource::WindowsPackage.new("solitaire.msi") } diff --git a/spec/unit/resource/windows_service_spec.rb b/spec/unit/resource/windows_service_spec.rb index bb4b91b624..2455a70f02 100644 --- a/spec/unit/resource/windows_service_spec.rb +++ b/spec/unit/resource/windows_service_spec.rb @@ -24,7 +24,7 @@ describe Chef::Resource::WindowsService, "initialize" do provider: Chef::Provider::Service::Windows, os: "windows", name: :windows_service, - action: :start, + action: :start ) let(:resource) { Chef::Resource::WindowsService.new("BITS") } diff --git a/spec/unit/resource/yum_package_spec.rb b/spec/unit/resource/yum_package_spec.rb index 195f8c56e8..dd0d3ae928 100644 --- a/spec/unit/resource/yum_package_spec.rb +++ b/spec/unit/resource/yum_package_spec.rb @@ -27,7 +27,7 @@ describe Chef::Resource::YumPackage, "initialize" do name: :yum_package, action: :install, os: "linux", - platform_family: "rhel", + platform_family: "rhel" ) end |