Sha256: 746d72c12ab61f4c85a0341662af7081040b3ee5e0723061b9f0bbd81585130a

Contents?: true

Size: 113 Bytes

Versions: 5

Compression:

Stored size: 113 Bytes

Contents

class MockRecord
  attr_accessor :errors

  def initialize(attribute)
    @errors = { attribute => [] }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_model_validators_ex-0.3.1 spec/mock_objects/mock_record.rb
active_model_validators_ex-0.3.0 spec/mock_objects/mock_record.rb
active_model_validators_ex-0.0.3 spec/mock_objects/mock_record.rb
active_model_validators_ex-0.0.2 spec/mock_objects/mock_record.rb
active_model_validators_ex-0.0.1 spec/mock_objects/mock_record.rb