Sha256: 673761b59252f6748a6c1d95d3f26cfdea64087d60bc4c8acbacaf21fdf2caf3
Contents?: true
Size: 276 Bytes
Versions: 2
Compression:
Stored size: 276 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Mapper, '#load' do include_context 'Mapper' it 'loads the tuple into model' do stub(loader).call(tuple) { object } expect(mapper.load(tuple)).to be(object) loader.should have_received.call(tuple) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rom-mapper-0.1.1 | spec/unit/rom/mapper/load_spec.rb |
rom-mapper-0.1.0 | spec/unit/rom/mapper/load_spec.rb |