Sha256: 81433759b5d65782edf082f515ba82a641186d4ff18b95729f64b8d0f49eca8c
Contents?: true
Size: 436 Bytes
Versions: 4
Compression:
Stored size: 436 Bytes
Contents
require 'spec_helper' describe Axiom::Adapter::Arango::Visitor::For::Unary::Restriction, '#root' do subject { object.root } let(:relation) { base.restrict { |r| r.foo.eq('bar') } } expect_aql <<-AQL FOR `restriction` IN (FOR `base` IN `name` RETURN {"foo": `base`.`foo`, "bar": `base`.`bar`}) FILTER (`restriction`.`foo` == "bar") RETURN {"foo": `restriction`.`foo`, "bar": `restriction`.`bar`} AQL end
Version data entries
4 entries across 2 versions & 1 rubygems