Sha256: 9984cd0acb7358ebd0072755f6a646eba0cc7d8271b50a9883249fe4324c99d5

Contents?: true

Size: 501 Bytes

Versions: 5

Compression:

Stored size: 501 Bytes

Contents

require "spec_helper"

describe Architect4r::Model::LinksQueryInterface do
  
  before(:all) { @node = Person.create(:name => 'Neo') }
  after(:all) { @node.destroy }
  
  subject { Architect4r::Model::LinksQueryInterface.new(@node) }
  
  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

5 entries across 5 versions & 1 rubygems

Version Path
architect4r-0.3.4.2 spec/model/links_query_interface_spec.rb
architect4r-0.3.4.1 spec/model/links_query_interface_spec.rb
architect4r-0.3.4 spec/model/links_query_interface_spec.rb
architect4r-0.3.3.1 spec/model/links_query_interface_spec.rb
architect4r-0.3.2 spec/model/links_query_interface_spec.rb