Sha256: 3f536e41fa35f8d83866bda4b0251f20cfe6310f865628a95e7e484dea1f1590
Contents?: true
Size: 461 Bytes
Versions: 6
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' describe Cumuli::App::Procs do let(:procs) { Cumuli::App::Procs.new(app_set_dir) } it "#names includes all the app names listed in the Procfile" do procs.names.should =~ [ 'loopy', 'nodified' ] end describe '#map' do it "maps names to ports" do procs.map['nodified'].should == 2323 end it "return a nil port when the app has no port" do procs.map['loopy'].should == nil end end end
Version data entries
6 entries across 6 versions & 1 rubygems