Sha256: c0bfbf2d1836f9cf7efcffebad35dd393d245ca1b46c12041bd954bcb15f6ebe
Contents?: true
Size: 634 Bytes
Versions: 11
Compression:
Stored size: 634 Bytes
Contents
require "spec_helper" require "foreman/engine" require "foreman/export/bluepill" require "tmpdir" describe Foreman::Export::Bluepill do let(:procfile) { FileUtils.mkdir_p("/tmp/app"); write_procfile("/tmp/app/Procfile") } let(:engine) { Foreman::Engine.new(procfile) } let(:bluepill) { Foreman::Export::Bluepill.new(engine) } before(:each) { load_export_templates_into_fakefs("bluepill") } before(:each) { stub(bluepill).say } it "exports to the filesystem" do bluepill.export("/tmp/init", :concurrency => "alpha=2") File.read("/tmp/init/app.pill").should == example_export_file("bluepill/app.pill") end end
Version data entries
11 entries across 11 versions & 1 rubygems