Sha256: b116a159001bb710f1b89df6c3c7da79c5b78e51a40ba41b08eab87e8b1076a7

Contents?: true

Size: 352 Bytes

Versions: 16

Compression:

Stored size: 352 Bytes

Contents

require 'spec_helper'

describe 'unicorn' do
  before do
    mock_config { use_recipes :unicorn }
  end
  
  it 'returns used recipe' do
    config.used_recipes.should == [:unicorn]
  end

  it 'has default unicorn pid' do
    mock_config { set :deploy_to, '/foo/bar' }
    config.unicorn_pid_file.should == '/foo/bar/shared/pids/unicorn.pid'
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
capistrano_recipes-1.4.2 spec/unicorn_spec.rb
capistrano_recipes-1.4.1 spec/unicorn_spec.rb
capistrano_recipes-1.4.0 spec/unicorn_spec.rb
capistrano_recipes-1.3.4 spec/unicorn_spec.rb
capistrano_recipes-1.3.3 spec/unicorn_spec.rb
capistrano_recipes-1.3.2 spec/unicorn_spec.rb
capistrano_recipes-1.3.1 spec/unicorn_spec.rb
capistrano_recipes-1.3.0 spec/unicorn_spec.rb
capistrano_recipes-1.2.0 spec/unicorn_spec.rb
capistrano_recipes-1.1.0 spec/unicorn_spec.rb
capistrano_recipes-1.0.5 spec/unicorn_spec.rb
capistrano_recipes-1.0.4 spec/unicorn_spec.rb
capistrano_recipes-1.0.3 spec/unicorn_spec.rb
capistrano_recipes-1.0.2 spec/unicorn_spec.rb
capistrano_recipes-1.0.1 spec/unicorn_spec.rb
capistrano_recipes-1.0.0 spec/unicorn_spec.rb