spec/sequel_spec.rb in tqdm-0.4.0 vs spec/sequel_spec.rb in tqdm-0.4.1

- old
+ new

@@ -38,15 +38,17 @@ "\r " \ "\r" end it 'returns a re-frozen object' do - enhanced = timecop_loop(database[:items]) + enhanced = nil + with_stderr { enhanced = timecop_loop(database[:items]) } expect(enhanced.frozen?).to be_truthy end it 'returns an object inheriting from Sequel::Dataset' do - enhanced = timecop_loop(database[:items]) + enhanced = nil + with_stderr { enhanced = timecop_loop(database[:items]) } expect(enhanced).to be_kind_of(Sequel::Dataset) end end context 'with leave: true' do