Sha256: 837e43a7d5605ffa0580692a5ecc2711526b235c2e6ae080f611973e2b46a202
Contents?: true
Size: 304 Bytes
Versions: 1
Compression:
Stored size: 304 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Mapper::Header, '#project' do subject(:header) { other.project([:id]) } let(:other) { Mapper::Header.build([[:id], [:name]]) } it 'returns a header with projected attributes' do expect(header).to eql(Mapper::Header.build([[:id]])) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-0.2.0 | spec/unit/rom/mapper/header/project_spec.rb |