Sha256: 8612ca35c42d8a2c5418f2ec4e49fd5f3f14ca23cac3f446ef979d7ce1224b31
Contents?: true
Size: 367 Bytes
Versions: 9
Compression:
Stored size: 367 Bytes
Contents
require 'spec_helper' module Alf module Engine describe Unwrap do let(:input) {[ {:wrapped => {:a => "a", :b => "b"}, :c => "c"} ]} let(:expected) {[ {:a => "a", :b => "b", :c => "c"}, ]} it "should unwrap as expected" do Unwrap.new(input, :wrapped).to_a.should eq(expected) end end end end
Version data entries
9 entries across 9 versions & 2 rubygems