Sha256: 52400100a993acd3f5177a384b8abd459889a6a7e811c918dbbc4ed2c58024d8
Contents?: true
Size: 344 Bytes
Versions: 11
Compression:
Stored size: 344 Bytes
Contents
describe Nanoc::Telemetry::Counter do subject(:counter) { described_class.new } it 'starts at 0' do expect(counter.value).to eq(0) end describe '#increment' do subject { counter.increment } it 'increments' do expect { subject } .to change { counter.value } .from(0) .to(1) end end end
Version data entries
11 entries across 11 versions & 1 rubygems