spec/unit/sql/query_spec.rb in influxdb-rails-1.0.0.beta2 vs spec/unit/sql/query_spec.rb in influxdb-rails-1.0.0.beta3
- old
+ new
@@ -22,7 +22,8 @@
it { expect(described_class.new(sql: "UPDATE").track?).to be true }
it { expect(described_class.new(sql: "SELECT").track?).to be true }
it { expect(described_class.new(sql: "DELETE").track?).to be true }
it { expect(described_class.new(sql: "SCHEMA").track?).to be false }
it { expect(described_class.new(sql: "BEGIN").track?).to be false }
+ it { expect(described_class.new(sql: "SELECT", name: "SCHEMA").track?).to be false }
end
end