Sha256: 32b72e1c15b299db58cc5a042cbe253c57184ebd2fed32ed4fd9a673b88f72b5
Contents?: true
Size: 584 Bytes
Versions: 14
Compression:
Stored size: 584 Bytes
Contents
require 'spec_helper' describe 'constant_throughput_timer' do let(:doc) do test do threads do constant_throughput_timer value: 60.0 constant_throughput_timer throughput: 70.0 end end.to_doc end it 'should match on throughput using value' do expect(doc.search('//ConstantThroughputTimer[1]/stringProp[@name="throughput"]').first.content).to eq '60.0' end it 'should match on throughput using throughput' do expect(doc.search('//ConstantThroughputTimer[2]/stringProp[@name="throughput"]').first.content).to eq '70.0' end end
Version data entries
14 entries across 14 versions & 1 rubygems