spec/integration/cookbook_spec.rb in stove-3.2.1 vs spec/integration/cookbook_spec.rb in stove-3.2.2
- old
+ new
@@ -9,30 +9,32 @@
structure = []
Zlib::GzipReader.open(tarball.path) do |gzip|
Gem::Package::TarReader.new(gzip) do |tar|
- structure = tar.map(&:full_name)
+ structure = tar.map(&:full_name).sort
end
end
expect(structure).to eq(%w(
- basic/README.md
basic/CHANGELOG.md
- basic/metadata.json
- basic/metadata.rb
+ basic/README.md
basic/attributes/default.rb
basic/attributes/system.rb
basic/definitions/web_app.rb
basic/files/default
+ basic/files/default/.authorized_keys
basic/files/default/example.txt
basic/files/default/patch.txt
basic/libraries/magic.rb
+ basic/metadata.json
+ basic/metadata.rb
basic/providers/thing.rb
basic/recipes/default.rb
basic/recipes/system.rb
basic/resources/thing.rb
basic/templates/default
+ basic/templates/default/.env.erb
basic/templates/default/another.text.erb
basic/templates/default/example.erb
))
end
end