Sha256: ef8cc2e6628fe98d1bae0a00e1e52e5de36b5a23683d3e649e2d42cdac7c54b1
Contents?: true
Size: 427 Bytes
Versions: 23
Compression:
Stored size: 427 Bytes
Contents
describe Devtools::Flay::Scale, '#flay_report' do subject(:instance) { described_class.new(minimum_mass: 0, files: []) } let(:flay) do instance_double(::Flay, process: nil, analyze: nil, masses: {}) end before do allow(::Flay).to receive(:new).with(mass: 0).and_return(flay) end specify do allow(flay).to receive(:report) instance.flay_report expect(flay).to have_received(:report) end end
Version data entries
23 entries across 23 versions & 1 rubygems