Sha256: 3132ea5ddb3b222017889b569b6935b9ef4b1fda13d223f6b0516c4c25fcdb45

Contents?: true

Size: 449 Bytes

Versions: 5

Compression:

Stored size: 449 Bytes

Contents

require File.join(File.dirname(__FILE__), "..", "..", "spec_helper")

describe HBase::Operation::MetaOperation do

  before do
    url = ENV["HBASE_URL"].nil? ? "http://localhost:8080" : ENV["HBASE_URL"]
    @client = HBase::Client.new(url)
  end

  it "should return tables" do
    tables = @client.list_tables
    tables.should respond_to(:size)
    tables.each do |table|
      table.should.is_a? HBase::Model::TableDescriptor
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hbase-ruby-1.2.0 spec/hbase/operation/meta_operation_spec.rb
hbase-ruby-1.1.3 spec/hbase/operation/meta_operation_spec.rb
hbase-ruby-1.1.2 spec/hbase/operation/meta_operation_spec.rb
hbase-ruby-1.1.1 spec/hbase/operation/meta_operation_spec.rb
hbase-ruby-1.1.0 spec/hbase/operation/meta_operation_spec.rb