Sha256: 425f3a1511efa37e2e3a12829257963f39b9e1c5326cf898f5ad88eaeef9cd6b

Contents?: true

Size: 445 Bytes

Versions: 5

Compression:

Stored size: 445 Bytes

Contents

shared_context :stub_configuration do
  before do
    allow_any_instance_of(Paraduct::Configuration).to receive(:config_data){ config_data.stringify_keys.with_indifferent_access }
  end

  let(:config_data) do
    {
      script: %q(echo "NAME1=${NAME1}, NAME2=${NAME2}"),
      work_dir: "tmp/paraduct_workspace",
      variables: {
        "NAME1" => ["value1a", "value1b"],
        "NAME2" => ["value2a", "value2b"],
      },
    }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
paraduct-1.0.0.beta6 spec/support/contexts/stub_configuration.rb
paraduct-1.0.0.beta5 spec/support/contexts/stub_configuration.rb
paraduct-1.0.0.beta4 spec/support/contexts/stub_configuration.rb
paraduct-1.0.0.beta3 spec/support/contexts/stub_configuration.rb
paraduct-1.0.0.beta2 spec/support/contexts/stub_configuration.rb