Sha256: 5e010a075c23cbc281778362cf0b31f6251ffbc27db69b61544b61a924e812a0

Contents?: true

Size: 444 Bytes

Versions: 2

Compression:

Stored size: 444 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: 'echo "NAME1=${NAME1}, NAME2=${NAME2}"',
      work_dir: "tmp/paraduct_workspace",
      variables: {
        "NAME1" => ["value1a", "value1b"],
        "NAME2" => ["value2a", "value2b"],
      },
    }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paraduct-1.0.1 spec/support/contexts/stub_configuration.rb
paraduct-1.0.0 spec/support/contexts/stub_configuration.rb