diff --git a/spec/lib/scan_spec.rb b/spec/lib/scan_spec.rb index 9abd9af8..07206f96 100644 --- a/spec/lib/scan_spec.rb +++ b/spec/lib/scan_spec.rb @@ -13,6 +13,10 @@ its(:controllers) { should eq([controller::Core.new]) } it 'sets the CMSScanner.start_memory' do + CMSScanner.start_memory = 0 # to avoid getting it from previous specs + + described_class.new + expect(CMSScanner.start_memory).to be_positive end end