Sha256: 4419f68e53eb99cd1694742ad7567ad074f6868c36b90bbc49c9aa79ff4deb6a

Contents?: true

Size: 333 Bytes

Versions: 7

Compression:

Stored size: 333 Bytes

Contents

require 'test_helper'

class CassandraObject::Schema::TasksTest < CassandraObject::TestCase
  test "column_families" do
    assert_equal ['Issues'], CassandraObject::Schema.column_families
  end

  test "dump" do
    io = StringIO.new

    CassandraObject::Schema.dump(io)
    io.rewind

    assert_match /Issues/, io.read
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gotime-cassandra_object-4.4.5 test/unit/schema/tasks_test.rb
gotime-cassandra_object-4.4.4 test/unit/schema/tasks_test.rb
gotime-cassandra_object-4.4.3 test/unit/schema/tasks_test.rb
gotime-cassandra_object-4.4.0 test/unit/schema/tasks_test.rb
gotime-cassandra_object-4.3.2 test/unit/schema/tasks_test.rb
gotime-cassandra_object-4.3.1 test/unit/schema/tasks_test.rb
gotime-cassandra_object-4.3.0 test/unit/schema/tasks_test.rb