spec/integration/default_spec.rb in itamae-1.12.0 vs spec/integration/default_spec.rb in itamae-1.12.1

- old
+ new

@@ -331,5 +331,23 @@ describe file('/tmp/empty_file3') do it { should exist } it { should be_file } its(:content) { should eq "" } end + +describe file('/tmp/toplevel_module') do + it { should exist } + it { should be_file } + its(:content) { should eq "helper" } +end + +describe file('/tmp/local_variables') do + it { should exist } + it { should be_file } + its(:content) { should eq "[]" } +end + +describe file('/tmp/instance_variables') do + it { should exist } + it { should be_file } + its(:content) { should eq "[:@recipe]" } # backward compatibility +end