Sha256: 6d02127ffc7d2d9cb2552f12d0a49c38bf74a4d6695f62d01f23ac23d26a804d
Contents?: true
Size: 545 Bytes
Versions: 5
Compression:
Stored size: 545 Bytes
Contents
require 'spec_helper' module Alf module Operator::Relational describe Heading do let(:operator_class){ Heading } it_should_behave_like("An operator class") let(:input) {[ {:tested => 1, :other => "b"}, {:tested => 10.0, :other => "a"}, ]} let(:expected){[ {:tested => Numeric, :other => String}, ]} subject{ operator.to_a } context "with Lispy" do let(:operator){ Lispy.heading(input) } it{ should == expected } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems