Sha256: 5c6ba755014f7b66ee370ba1f20d18ec67c8960de642554bbf43eaa131af4b60

Contents?: true

Size: 757 Bytes

Versions: 2

Compression:

Stored size: 757 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe "deploying an application" do
  module EY::Strategies::IntegrationSpec::Helpers
    def update_repository_cache
    end

    def create_revision_file_command
    end

    def short_log_message(revision)
      
    end
    
  end

  class FullTestDeploy < EY::Deploy
    def initialize(*)
      super
      @infos = []
      @debugs = []
    end

    # stfu
    def info(msg)
      @infos << msg
    end

    # no really, stfu
    def debug(msg)
      @debugs << msg
    end

    # passwordless sudo is neither guaranteed nor desired
    def sudo(cmd)
      run(cmd)
    end

    def restart
      # do nothing
    end

  end

  before(:each) do
    # set up EY::Server
    # run a deploy
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ey-deploy-1.1.3 spec/integration_spec.rb
ey-deploy-1.1.2 spec/integration_spec.rb