Sha256: 2f41dac5ee8704b2d0565ae37ae4e19d4a37cd23808b1e576a0cb6a3aee27e91

Contents?: true

Size: 382 Bytes

Versions: 8

Compression:

Stored size: 382 Bytes

Contents

require 'helper'
require 'cassanity/argument_generators/keyspace_drop'

describe Cassanity::ArgumentGenerators::KeyspaceDrop do
  let(:keyspace_name) { :analytics }

  describe "#call" do
    it "returns array of arguments" do
      cql = "DROP KEYSPACE #{keyspace_name}"
      expected = [cql]
      subject.call(keyspace_name: keyspace_name).should eq(expected)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cassanity-0.6.0 spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb
cassanity-0.6.0.beta5 spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb
cassanity-0.6.0.beta4 spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb
cassanity-0.6.0.beta3 spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb
cassanity-0.6.0.beta2 spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb
cassanity-0.6.0.beta1 spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb
cassanity-0.5.1 spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb
cassanity-0.5.0 spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb