Sha256: 9a5b24fcf278f0ed1f70d33a1f321d1dafa01a4c62ee7f3c929b0340f0b09b76
Contents?: true
Size: 622 Bytes
Versions: 7
Compression:
Stored size: 622 Bytes
Contents
# frozen_string_literal: true RSpec.describe Necromancer::Configuration, '.new' do subject(:config) { described_class.new } it { is_expected.to respond_to(:strict=) } it { is_expected.to respond_to(:copy=) } it "is in non-strict mode by default" do expect(config.strict).to eq(false) end it "is in copy mode by default" do expect(config.copy).to eq(true) end it "allows to set strict through method" do config.strict true expect(config.strict).to eq(true) end it "allows to set copy mode through method" do config.copy false expect(config.strict).to eq(false) end end
Version data entries
7 entries across 7 versions & 2 rubygems