Commit e734a982 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Fix receive method name in expectation

parent 58f8a3e7
...@@ -78,7 +78,7 @@ describe QA::Support::Formatters::TestStatsFormatter do ...@@ -78,7 +78,7 @@ describe QA::Support::Formatters::TestStatsFormatter do
it('skips export') {} it('skips export') {}
end end
expect(influx_client).not_to receive(:create_write_api) expect(influx_client).not_to have_received(:create_write_api)
end end
it "skips export without influxdb token" do it "skips export without influxdb token" do
...@@ -89,7 +89,7 @@ describe QA::Support::Formatters::TestStatsFormatter do ...@@ -89,7 +89,7 @@ describe QA::Support::Formatters::TestStatsFormatter do
it('skips export') {} it('skips export') {}
end end
expect(influx_client).not_to receive(:create_write_api) expect(influx_client).not_to have_received(:create_write_api)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment