Sha256: 66c274967886f899ec6ab8054956b444fc2a95edf1d8a32cac25658a5ec2f70d
Contents?: true
Size: 611 Bytes
Versions: 5
Compression:
Stored size: 611 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") File.read("/tmp/init/app.pill").should == example_export_file("bluepill/app.pill") end end
Version data entries
5 entries across 5 versions & 1 rubygems