Sha256: 118415ee19f7fcad0996261a299b4a2712779f9bede36a80575ba26af79db5b7

Contents?: true

Size: 588 Bytes

Versions: 14

Compression:

Stored size: 588 Bytes

Contents

require 'spec_helper'
require 'dpl/provider/boxfuse'

describe DPL::Provider::Boxfuse do
  subject :provider do
    described_class.new(DummyContext.new, :user => 'dummyuser', :image => 'abc:123')
  end

  describe "#deploy" do
    example do
      expect(provider.context).to receive(:shell).with('curl -L https://files.boxfuse.com/com/boxfuse/client/boxfuse-commandline/latest/boxfuse-commandline-latest-linux-x64.tar.gz | tar xz')
      expect(provider.context).to receive(:shell).with('boxfuse/boxfuse run -user=dummyuser -image=abc:123 test')
      provider.deploy
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dpl-1.8.5.travis.1104.4 spec/provider/boxfuse_spec.rb
dpl-1.8.5.travis.1101.4 spec/provider/boxfuse_spec.rb
dpl-1.8.5.travis.1097.4 spec/provider/boxfuse_spec.rb
dpl-1.8.4 spec/provider/boxfuse_spec.rb
dpl-1.8.4.travis.1090.4 spec/provider/boxfuse_spec.rb
dpl-1.8.3 spec/provider/boxfuse_spec.rb
dpl-1.8.3.travis.1088.4 spec/provider/boxfuse_spec.rb
dpl-1.8.3.travis.1087.4 spec/provider/boxfuse_spec.rb
dpl-1.8.3.travis.1078.4 spec/provider/boxfuse_spec.rb
dpl-1.8.2 spec/provider/boxfuse_spec.rb
dpl-1.8.2.travis.1075.4 spec/provider/boxfuse_spec.rb
dpl-1.8.2.travis.1071.4 spec/provider/boxfuse_spec.rb
dpl-1.8.1 spec/provider/boxfuse_spec.rb
dpl-1.8.1.travis.1070.4 spec/provider/boxfuse_spec.rb