diff options
author | Seth Vargo <sethvargo@gmail.com> | 2013-09-24 17:11:48 -0400 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-10-04 09:52:09 -0700 |
commit | 15f1ba54fc1c734faef42244caf8a4e186788399 (patch) | |
tree | d007c4cc2fbb750918ec34705e2c0c5ebc516dda /spec | |
parent | 98e309687d5433990a265b8daa8e02bf33d97deb (diff) | |
download | chef-15f1ba54fc1c734faef42244caf8a4e186788399.tar.gz |
[CHEF-4567] Rename Chef::Resource::SmartOSPackage to Chef::Resource::SmartosPackage
The `Chef::Resource::SmartOSPackage` resource is expanded to `smart_o_s_package` by Chef when loading the class. This makes the DSL method a bit confusing as it should be `smartos_package`.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/resource/smartos_package_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/resource/smartos_package_spec.rb b/spec/unit/resource/smartos_package_spec.rb index 4898311bf0..391713c8ff 100644 --- a/spec/unit/resource/smartos_package_spec.rb +++ b/spec/unit/resource/smartos_package_spec.rb @@ -18,14 +18,14 @@ require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "spec_helper")) -describe Chef::Resource::SmartOSPackage, "initialize" do +describe Chef::Resource::SmartosPackage, "initialize" do before(:each) do - @resource = Chef::Resource::SmartOSPackage.new("foo") + @resource = Chef::Resource::SmartosPackage.new("foo") end - it "should return a Chef::Resource::SmartOSPackage" do - @resource.should be_a_kind_of(Chef::Resource::SmartOSPackage) + it "should return a Chef::Resource::SmartosPackage" do + @resource.should be_a_kind_of(Chef::Resource::SmartosPackage) end it "should set the resource_name to :smartos_package" do |