Sha256: b7d0b56c7ecce9acf204805c0a626d2f601cc0dc9f5d5700cfcdfbf42a218d4b

Contents?: true

Size: 526 Bytes

Versions: 2

Compression:

Stored size: 526 Bytes

Contents

describe Paraduct::Configuration do
  let(:config) { Paraduct.configuration }

  before do
    # use spec/.paraduct.yml
    allow_any_instance_of(Paraduct::Configuration).to receive(:root_dir) { spec_dir }
  end

  describe "#variables" do
    subject { config.variables }

    it "should get variables in .paraduct.yml" do
      is_expected.to match(
        "RUBY"     => ["1.9.3", "2.0.0", "2.1.2"],
        "DATABASE" => ["mysql", "postgresql"],
        "RAILS"    => ["3.2.0", "4.0.0", "4.1.0"]
      )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paraduct-1.0.1 spec/paraduct/configuration_spec.rb
paraduct-1.0.0 spec/paraduct/configuration_spec.rb