spec/foreman/export/supervisord_spec.rb in foreman-0.41.0-java vs spec/foreman/export/supervisord_spec.rb in foreman-0.42.0
- old
+ new
@@ -28,11 +28,11 @@
context "with concurrency" do
let(:options) { Hash[:concurrency => "alpha=2"] }
it "exports to the filesystem with concurrency" do
supervisord.export
-
+
File.read("/tmp/init/app.conf").should == example_export_file("supervisord/app-alpha-2.conf")
end
end
context "with alternate templates" do
@@ -44,10 +44,10 @@
File.open("#{template_root}/app.conf.erb", "w") { |f| f.puts "alternate_template" }
end
it "can export with alternate template files" do
supervisord.export
-
+
File.read("/tmp/init/app.conf").should == "alternate_template\n"
end
end
context "with alternate templates from home dir" do