Sha256: df59908aa8183205a486bd6dac2053fd6ffba5e358d5425613f493e73de380b1
Contents?: true
Size: 186 Bytes
Versions: 5
Compression:
Stored size: 186 Bytes
Contents
shared_context 'type setup' do |type_name| let(:model) { stub_model { attribute :column, type_name.constantize } } def typecast(value) model.new(column: value).column end end
Version data entries
5 entries across 5 versions & 1 rubygems