Sha256: a38ba163d4128037ce3eb037bfc90bf7eaacbc699ce8df94bd31fc94698b9e91
Contents?: true
Size: 651 Bytes
Versions: 21
Compression:
Stored size: 651 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 describe "#work_dir" do subject{ config.work_dir } it { should eq spec_dir.join("tmp/paraduct_workspace") } end end
Version data entries
21 entries across 21 versions & 1 rubygems