Sha256: ada2af8cfe3b37ce8c40a2ccbf31fac6d32fe4868fe9ecf3c321dffbb8aa5844
Contents?: true
Size: 518 Bytes
Versions: 3
Compression:
Stored size: 518 Bytes
Contents
require 'spec_helper' describe AQL::Node::Attribute, '#aql' do let(:object) { described_class.new(target, name) } let(:name) { AQL::Node::Name.new(attribute_name) } let(:target) { AQL::Node::Name.new(target_name) } context 'with regular names' do let(:target_name) { 'foo' } let(:attribute_name) { 'bar' } expect_aql('`foo`.`bar`') end context 'with keyword names' do let(:target_name) { 'sort' } let(:attribute_name) { 'filter' } expect_aql('`sort`.`filter`') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aql-0.0.3 | spec/unit/aql/node/attribute/aql_spec.rb |
aql-0.0.2 | spec/unit/aql/node/attribute/aql_spec.rb |
aql-0.0.1 | spec/unit/aql/node/attribute/aql_spec.rb |