Sha256: c4e3562e07228096329a052e09f59056d7ac1b691521fef638c50a755cc8e669
Contents?: true
Size: 374 Bytes
Versions: 8
Compression:
Stored size: 374 Bytes
Contents
require 'spec_helper' describe 'DataMapper::Validations::ValidationErrors#respond_to?' do subject { DataMapper::Validations::ValidationErrors.new(Object.new) } it 'should look for the method in self' do subject.should respond_to(:full_messages) end it 'should delegate lookup to the underlying errors hash' do subject.should respond_to(:size) end end
Version data entries
8 entries across 8 versions & 2 rubygems