Sha256: d6ffb95bf3ff33726a3cc50519f4eddc90f68975f55d75b88c54178a6c631166

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

require 'spec_helper'

describe AQL::Node::Operation::Unary::Direction, '#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(:object)       { class_under_test.new(foo)  }

  expect_aql('`foo` KEYWORD')
end

Version data entries

3 entries across 3 versions & 1 rubygems

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