Sha256: f24eb253f0c002c5acbdf7326bc374df994cebddf7cf30feceeaf5ff747d5c9e
Contents?: true
Size: 320 Bytes
Versions: 10
Compression:
Stored size: 320 Bytes
Contents
require 'rails_helper' describe LHC::Response do context 'time' do let(:time) { 1.3 } let(:raw_response) { OpenStruct.new({time: time}) } it 'provides response time in milliseconds' do response = LHC::Response.new(raw_response, nil) expect(response.time).to eq time*1000 end end end
Version data entries
10 entries across 10 versions & 1 rubygems