Sha256: efc1f105f1f7f076ce2bee3d811cb48bc85c72445bbe0b247572348115e43461
Contents?: true
Size: 372 Bytes
Versions: 5
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe Confset::Configuration do subject do Module.new do extend Confset::Configuration.new(hello: "world") end end it "extends a module with additional methods" do expect(subject.hello).to eq("world") expect { subject.hello = "dlrow" }.to change { subject.hello }.to("dlrow") end end
Version data entries
5 entries across 5 versions & 1 rubygems