Sha256: 02af3d61ed1b7297586b85cab07709035bf0c59d39aef70ce4147ef2ed03d21d

Contents?: true

Size: 326 Bytes

Versions: 4

Compression:

Stored size: 326 Bytes

Contents

# encoding: utf-8

describe "ALTER TYPE ... ADD" do

  let(:field) do
    QueryBuilder::CQL.keyspace(:wildlife).type(:species).field(:weight)
  end

  it_behaves_like :query_builder do
    subject { field.create(:int) }

    let(:cql) { "ALTER TYPE wildlife.species ADD weight int;" }
  end

end # describe ALTER TYPE ... ADD

Version data entries

4 entries across 4 versions & 1 rubygems

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