Sha256: af0cb98f4016171c8490f984fb9e4859531dbe6b21a206a52328bf7548732dc3

Contents?: true

Size: 690 Bytes

Versions: 6

Compression:

Stored size: 690 Bytes

Contents

require 'spec_helper'
require "vmc/cli/app/push"

describe VMC::App::Push do
  let(:global_inputs) { { :color => false, :quiet => true } }
  let(:inputs) { {} }
  let(:given) { {} }
  let(:client) { FactoryGirl.build(:client) }

  before do
    any_instance_of(VMC::CLI) do |cli|
      stub(cli).client { client }
      stub(cli).precondition { nil }
    end
  end

  describe 'CLI' do
    subject { Mothership.new.invoke(:push, inputs, given, global_inputs) }

    context 'when creating a new app' do
    end

    context 'when syncing an existing app' do
    end
  end

  describe '#create_app' do
    xit 'should detect the correct framework'
  end

  describe '#sync_app' do

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vmc-0.4.2 spec/vmc/cli/app/push_spec.rb
vmc-0.4.1 spec/vmc/cli/app/push_spec.rb
vmc-0.4.0 spec/cli/app/push_spec.rb
vmc-0.4.0.beta.97 vmc-ng/spec/cli/app/push_spec.rb
vmc-0.4.0.beta.96 vmc-ng/spec/cli/app/push_spec.rb
vmc-0.4.0.beta.94 vmc-ng/spec/cli/app/push_spec.rb