Sha256: f589be4608888d8abcb8ab664ebcbc970f8c07128525a38d7d239c9dc4ea4caf
Contents?: true
Size: 335 Bytes
Versions: 6
Compression:
Stored size: 335 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') include Fathom describe KnowledgeBase do before do @kb = KnowledgeBase.new 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