File: //usr/local/rvm/gems/ruby-2.6.8/doc/activemodel-6.1.4.1/ri/ActiveModel/Lint/Tests/cdesc-Tests.ri
U:RDoc::NormalModule[iI"
Tests:ETI"ActiveModel::Lint::Tests;T0o:RDoc::Markup::Document:@parts[o;;[S:RDoc::Markup::Heading:
leveli: textI"Active \Model \Lint \Tests;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[ I"OYou can test whether an object is compliant with the Active \Model API by ;TI"Kincluding <tt>ActiveModel::Lint::Tests</tt> in your TestCase. It will ;TI"Iinclude tests that tell you whether your object is fully compliant, ;TI"=or if not, which aspects of the API are not implemented.;T@o;
;[I"KNote an object is not required to implement all APIs in order to work ;TI"Lwith Action Pack. This module only intends to provide guidance in case ;TI"*you want all features out of the box.;T@o;
;[ I"MThese tests do not attempt to determine the semantic correctness of the ;TI"Kreturned values. For instance, you could implement <tt>valid?</tt> to ;TI"Oalways return +true+, and the tests would pass. It is up to you to ensure ;TI"1that the values are semantically meaningful.;T@o;
;[I"OObjects you pass in are expected to return a compliant object from a call ;TI"Pto <tt>to_model</tt>. It is perfectly fine for <tt>to_model</tt> to return ;TI"+self+.;T:
@fileI"lib/active_model/lint.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I"
class;T[[:public[ [:protected[ [:private[ [I"
instance;T[[;[[I"test_errors_aref;TI"lib/active_model/lint.rb;T[I"test_model_naming;T@;[I"test_persisted?;T@;[I"test_to_key;T@;[I"test_to_param;T@;[I"test_to_partial_path;T@;[;[ [;[[I"assert_boolean;T@;[I"
model;T@;[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@&I"ActiveModel::Lint;TcRDoc::NormalModule