diff options
Diffstat (limited to 'spec/unit/resource/cookbook_file_spec.rb')
-rw-r--r-- | spec/unit/resource/cookbook_file_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/unit/resource/cookbook_file_spec.rb b/spec/unit/resource/cookbook_file_spec.rb index bd437893ce..442e175f63 100644 --- a/spec/unit/resource/cookbook_file_spec.rb +++ b/spec/unit/resource/cookbook_file_spec.rb @@ -17,20 +17,20 @@ # limitations under the License. # -require 'spec_helper' +require "spec_helper" describe Chef::Resource::CookbookFile do before do - @cookbook_file = Chef::Resource::CookbookFile.new('sourcecode_tarball.tgz') + @cookbook_file = Chef::Resource::CookbookFile.new("sourcecode_tarball.tgz") end it "uses the name parameter for the source parameter" do - expect(@cookbook_file.name).to eq('sourcecode_tarball.tgz') + expect(@cookbook_file.name).to eq("sourcecode_tarball.tgz") end it "has a source parameter" do - @cookbook_file.name('config_file.conf') - expect(@cookbook_file.name).to eq('config_file.conf') + @cookbook_file.name("config_file.conf") + expect(@cookbook_file.name).to eq("config_file.conf") end it "defaults to a nil cookbook parameter (current cookbook will be used)" do @@ -39,7 +39,7 @@ describe Chef::Resource::CookbookFile do it "has a cookbook parameter" do @cookbook_file.cookbook("munin") - expect(@cookbook_file.cookbook).to eq('munin') + expect(@cookbook_file.cookbook).to eq("munin") end it "sets the provider to Chef::Provider::CookbookFile" do |