Sha256: 9084aea13e5c3a4fdab6f145bee6d37ff8cffbdd795cdee58fde01b0089fce60
Contents?: true
Size: 272 Bytes
Versions: 1
Compression:
Stored size: 272 Bytes
Contents
require "spec_helper" describe Mapper::Attribute, '#rename' do subject(:attribute) { Mapper::Attribute.build(:title) } it 'returns a new attribute with changed name' do expect(attribute.rename(:book_title)).to eql(Mapper::Attribute.build(:book_title)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-0.2.0 | spec/unit/rom/mapper/attribute/rename_spec.rb |