Sha256: 533155bcda5bd3c3edaafa56074be1d3d0832ca8a5c09397850b8e066d550846
Contents?: true
Size: 294 Bytes
Versions: 1
Compression:
Stored size: 294 Bytes
Contents
require "spec_helper" describe Mapper, "#project" do let(:task) { Mapper.build([[:id, from: :user_id], [:name]]) } subject(:mapper) { task.project([:user_id]) } it "returns a mapper with a projected header" do expect(mapper).to eql(Mapper.build([[:id, from: :user_id]])) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-0.2.0 | spec/unit/rom/mapper/project_spec.rb |