Sha256: 6ecf173c92b3931834007aefea9c744d3c73bb65a826f97d0331459d3c3a7614
Contents?: true
Size: 488 Bytes
Versions: 4
Compression:
Stored size: 488 Bytes
Contents
require 'spec_helper' module Alf module Lang describe "Relation(...) literal" do include Functional describe 'on a single tuple' do subject{ Relation(name: "Jones") } it{ should eq(Alf::Relation.coerce([{name: "Jones"}])) } end describe 'on an array of tuples' do subject{ Relation([{name: "Jones"}, {name: "Smith"}])} it{ should eq(Alf::Relation.coerce([{name: "Jones"}, {name: "Smith"}])) } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems