Sha256: c211299f62f6653274c2c0cddb7b04111a727038fcdca0816607881c11886e7c

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

require 'spec_helper'
require 'xploy'

describe Xploy do
  its('parameter') { should be_kind_of(Xploy::Parameter) }

  describe 'build_cli' do
    subject { described_class.build_cli }

    it { should be_kind_of(Xploy::Cli) }

    it 'uses Api' do
      subject.instance_variable_get('@api').should be_kind_of(Xploy::Api)
    end

    it 'uses STDOUT' do
      subject.instance_variable_get('@out').should eq STDOUT
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xploy-0.1.1.beta spec/lib/xploy_spec.rb