Sha256: a949d574077d08aeb363b7894d66288916ada178b06397acca0cd9fce83aefef
Contents?: true
Size: 486 Bytes
Versions: 5
Compression:
Stored size: 486 Bytes
Contents
require 'spec_helper' module Alf module Operator::Relational describe Rename do let(:operator_class){ Rename } it_should_behave_like("An operator class") let(:input) {[ {:a => "a", :b => "b"}, ]} let(:expected){[ {:z => "a", :b => "b"}, ]} subject{ operator.to_a } context "with Lispy" do let(:operator){ Lispy.rename(input, {:a => :z}) } it{ should == expected } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems