Sha256: b905dedd43730362c6449ee8548f89f506d639081647f5bd103f0e0ad1a6336a

Contents?: true

Size: 902 Bytes

Versions: 1

Compression:

Stored size: 902 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'deploy', type: :rake do
  before do
    load_default_config
  end

  describe 'deploy:force_unlock' do
    it 'deploy force_unlock' do
      expect { invoke_all }.to output(output_file('deploy_force_unlock')).to_stdout
    end
  end

  describe 'deploy:link_shared_paths' do
    it 'deploy link_shared_paths' do
      # expect { invoke_all }.to output(output_file('deploy_link_shared_paths')).to_stdout
    end
  end

  describe 'deploy:cleanup' do
    it 'deploy cleanup' do
      expect { invoke_all }.to output(output_file('deploy_cleanup')).to_stdout
    end
  end

  describe 'rollback' do
    it 'rollback' do
      expect { invoke_all }.to output(output_file('rollback')).to_stdout
    end
  end

  describe 'setup' do
    it 'setup' do
      expect { invoke_all }.to output(output_file('setup')).to_stdout
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mina-1.2.5 spec/tasks/deploy_spec.rb