Sha256: ba2087880af0459da793759c482da7bbe3724bc2da3d5d0b15d0a28f12f7f946
Contents?: true
Size: 557 Bytes
Versions: 2
Compression:
Stored size: 557 Bytes
Contents
require 'spec_helper' describe Axiom::Adapter::Arango::Visitor::For::Binary::Join, '#local_name' do let(:object) { described_class.new(node, context) } let(:node) { mock('Node') } subject { object.local_name } context 'as root' do let(:context) { nil } it { should eql(AQL.name_node(:local_0)) } it_should_behave_like 'an idempotent method' end context 'as non root' do let(:context) { mock('Context', :depth => 0) } it { should eql(AQL.name_node(:local_1)) } it_should_behave_like 'an idempotent method' end end
Version data entries
2 entries across 2 versions & 1 rubygems