Sha256: 1c8547049e37432ae1ff50f9dd630381c91633b09d36eab6a5375314c609b7ae

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 Bytes

Contents

require 'spec_helper'

describe AQL::Node::Operation::Nary, '#aql' do
  let(:class_under_test) do
    Class.new(described_class) do
      const_set(:KEYWORD, 'KEYWORD')
    end
  end

  let(:foo)          { AQL::Node::Name.new('foo') }
  let(:bar)          { AQL::Node::Name.new('bar') }

  let(:object)       { class_under_test.new([foo, bar]) }

  expect_aql('KEYWORD `foo`, `bar`')
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aql-0.0.3 spec/unit/aql/node/operation/nary/aql_spec.rb
aql-0.0.2 spec/unit/aql/node/operation/nary/aql_spec.rb
aql-0.0.1 spec/unit/aql/node/operation/nary/aql_spec.rb