Sha256: a10c8a1cc8ed704870e3d12122e4bb1963f44f5557f06ef5780e7c5e3c7f68df

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

require 'spec_helper'

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

  let(:object) { class_under_test.new(AQL::Node::Literal.build(1)) }
  expect_aql('KEYWORD 1')
end

Version data entries

3 entries across 3 versions & 1 rubygems

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