public
Description: Ruby ORM for HBase
Homepage: http://qslack.com/rhino.html
Clone URL: git://github.com/sqs/rhino.git
rhino / spec / interface / base_spec.rb
100644 17 lines (14 sloc) 0.457 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'spec/spec_helper.rb'
 
describe Rhino::Interface::Base do
  describe "when working with tables" do
    before do
      # TODO: this is a hardcoded list of tables in my db - should get real fixtures!!
      @table_names = %w(users pages)
      @base = Rhino::Model.connection
    end
    
    it "should return a list of tables" do
      pending "this breaks if you have other tables"
      @base.table_names.should == @table_names
    end
  end
end