Sha256: a059f12a2fdcc756c6fb8dc48f8b3ec55a911fde156e8a06fb1deb6090f1b985

Contents?: true

Size: 336 Bytes

Versions: 2

Compression:

Stored size: 336 Bytes

Contents

require 'spec_helper'

describe Axiom::Adapter::Arango::Visitor::Attribute, '#root' do
  let(:relation) { base.header[:foo] }
  let(:context)  { mock('Visitor Context', :local_name => AQL::Node::Name.new('local_name')) }

  subject { object.root }

  it_should_behave_like 'an idempotent method'

  expect_aql('`local_name`.`foo`')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-arango-adapter-0.0.2 spec/unit/axiom/adapter/arango/visitor/attribute/root_spec.rb
axiom-arango-adapter-0.0.1 spec/unit/axiom/adapter/arango/visitor/attribute/root_spec.rb