Sha256: 87547a4d3b206e7b938371e40bb0a00caef9aee98100c46ebc8ce4b6172f55da

Contents?: true

Size: 435 Bytes

Versions: 6

Compression:

Stored size: 435 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

include Fathom

describe KnowledgeBase do
  
  before do
    @kb = KnowledgeBase.new
  end
  
  it "should have a find accessor" do
    KnowledgeBase.should respond_to(:find)
  end
  
  # it "should be able to add a node" do
  #   @dn = DataNode.new(:name => :new_node, :values => [1,2,3])
  #   @kb[:new_node] = @dn
  #   @kb[:new_node].should eql(@dn)
  # end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fathom-0.3.7 spec/fathom/knowledge_base_spec.rb
fathom-0.3.6 spec/fathom/knowledge_base_spec.rb
fathom-0.3.4 spec/fathom/knowledge_base_spec.rb
fathom-0.3.3 spec/fathom/knowledge_base_spec.rb
fathom-0.3.2 spec/fathom/knowledge_base_spec.rb
fathom-0.3.1 spec/fathom/knowledge_base_spec.rb