Sha256: 45e08c869bc3fd5b47d8220cb7015d8f8112cfdcd2e226c0ba180f3eb82a7287
Contents?: true
Size: 998 Bytes
Versions: 1
Compression:
Stored size: 998 Bytes
Contents
RSpec.describe BloodContracts do describe ".run_name" do before { BloodContracts.run_name = "External run name" } it { expect(BloodContracts.run_name).to eq("External run name") } end describe ".storage" do context "when default configuration" do let(:expected_backend) { BloodContracts::Storages::FileBackend } it "has assigned storage" do expect(BloodContracts.storage.backend).to be_kind_of(expected_backend) end end context "when custom storage configured" do before do BloodContracts.config { |config| config.storage[:type] = :postgres } end let(:expected_backend) { BloodContracts::Storages::PostgresBackend } it "has assigned custom storage" do expect(BloodContracts.storage.backend).to be_kind_of(expected_backend) end end end context "when custom storage configured" do end context "when custom sampling configured" do end context "when RSpec is defined" do end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blood_contracts-1.0.0 | spec/blood_contracts_spec.rb |