Sha256: fc6395aeb2d43870a3cc91d746369d985781ed7a7654d96cceedcb71c89b772f
Contents?: true
Size: 355 Bytes
Versions: 7
Compression:
Stored size: 355 Bytes
Contents
shared_context "stub_query", :query do let(:client) { Influxer.client } before do # Stub all query methods allow_any_instance_of(InfluxDB::Client).to receive(:query) do |_, sql| sql end allow_any_instance_of(InfluxDB::Client).to receive(:time_precision) allow_any_instance_of(InfluxDB::Client).to receive(:post) end end
Version data entries
7 entries across 7 versions & 1 rubygems