Sha256: 13370974812c64daa9244e3c2b9ae1d59cf83fdffb1fd073c752519faed61ac2
Contents?: true
Size: 318 Bytes
Versions: 11
Compression:
Stored size: 318 Bytes
Contents
Then(/^the junit output file "(.*?)" should contain:$/) do |actual_file, text| actual = IO.read(current_dir + '/' + actual_file) actual = replace_junit_time(actual) expect(actual).to eq text.to_s end module JUnitHelper def replace_junit_time(s) s.gsub(/\d+\.\d\d+/m, '0.05') end end World(JUnitHelper)
Version data entries
11 entries across 11 versions & 1 rubygems