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