Sha256: 109969b60d56f669abe72e12763ce697be59ab53e67e88898602022cb692dc80

Contents?: true

Size: 451 Bytes

Versions: 18

Compression:

Stored size: 451 Bytes

Contents

require 'spec_helper'

require 'r10k/action/deploy/module'

describe R10K::Action::Deploy::Module do

  subject { described_class.new({config: "/some/nonexistent/path"}, []) }

  it_behaves_like "a deploy action that requires a config file"
  it_behaves_like "a deploy action that can be write locked"

  describe "initializing" do
    it "accepts an environment option" do
      described_class.new({environment: "production"}, [])
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
r10k-2.5.5 spec/unit/action/deploy/module_spec.rb
r10k-2.5.4 spec/unit/action/deploy/module_spec.rb
r10k-2.5.3 spec/unit/action/deploy/module_spec.rb
r10k-2.5.2 spec/unit/action/deploy/module_spec.rb
r10k-2.5.1 spec/unit/action/deploy/module_spec.rb
r10k-2.4.5 spec/unit/action/deploy/module_spec.rb
r10k-2.3.1 spec/unit/action/deploy/module_spec.rb
r10k-2.4.4 spec/unit/action/deploy/module_spec.rb
r10k-2.5.0 spec/unit/action/deploy/module_spec.rb
r10k-2.4.3 spec/unit/action/deploy/module_spec.rb
r10k-2.4.1 spec/unit/action/deploy/module_spec.rb
r10k-2.4.0 spec/unit/action/deploy/module_spec.rb
r10k-2.3.0 spec/unit/action/deploy/module_spec.rb
r10k-2.2.2 spec/unit/action/deploy/module_spec.rb
r10k-2.2.1 spec/unit/action/deploy/module_spec.rb
r10k-2.2.0 spec/unit/action/deploy/module_spec.rb
r10k-2.1.1 spec/unit/action/deploy/module_spec.rb
r10k-2.1.0 spec/unit/action/deploy/module_spec.rb