Sha256: 479de0ee30f738ef110684b3a1a61671216d4d60d9579f03282a2bdafcf6fb44

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

# encoding: utf-8

describe "TRUNCATE" do

  let(:table) { QueryBuilder::CQL.keyspace(:wildlife).table(:species) }

  it_behaves_like :query_builder do
    subject   { table.truncate }
    let(:cql) { "TRUNCATE wildlife.species;" }
  end

end # describe TRUNCATE

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
query_builder-0.0.4 spec/integration/truncate_spec.rb
query_builder-0.0.3 spec/integration/truncate_spec.rb
query_builder-0.0.2 spec/integration/truncate_spec.rb
query_builder-0.0.1 spec/integration/truncate_spec.rb