Sha256: b3b1585f64dd0b2b4ae4be302eb841ebaeab06361c76a4a032a75b34fe6e0dff
Contents?: true
Size: 528 Bytes
Versions: 10
Compression:
Stored size: 528 Bytes
Contents
require 'spec_helper' describe "links to and from nodes" do before(:all) { @node = Person.create(:name => 'Neo') } after(:all) { @node.destroy } it "should respond to :links" do @node.should respond_to(:links) end subject { @node.links } it "should respond to :incoming" do subject.should respond_to(:incoming) end it "should respond to :incoming" do subject.should respond_to(:outgoing) end it "should respond to :incoming" do subject.should respond_to(:both) end end
Version data entries
10 entries across 10 versions & 1 rubygems