aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test/cases/base
Commit message (Collapse)AuthorAgeFilesLines
* activeresource tests use AS::TestCaseAaron Patterson2012-01-053-3/+3
|
* Not used variables removed. Warnings removed.Arun Agrawal2011-09-101-2/+2
|
* Do not use objects that don't respond to to_sym (integers, floats, dates...) ↵Marc G Gauthier2011-09-011-0/+19
| | | | as parameters
* fix some types in schema_test.rbLachlan Sylvester2011-07-271-5/+5
|
* remove warning: assigned but unused variableSantiago Pastorino2011-06-081-1/+0
|
* updated all the tests in ARes to work with jsonJosh Kalderimis2011-05-183-45/+46
|
* Allow ActiveResource to work with non-generated ids [#5660 state:resolved]Jacques Crocker2010-09-251-1/+1
| | | | | | This commit updates new? so that it knows whether or not the record was actually new or not, and doesn't rely solely on the presence of id. This enables the ability to set a custom primary_key that is not autogenerated by the server. Signed-off-by: José Valim <jose.valim@gmail.com>
* resolves rdoc conflictXavier Noria2010-09-231-1/+1
|\
| * Tiny fixes to rdocAlexey Mahotkin2010-09-161-1/+1
| |
* | Refactor setup methods by extracting them in abstract_unit, remove TODO.Emilio Tagua2010-09-171-47/+2
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Remove TODO and support all expected attributes.Emilio Tagua2010-09-171-10/+46
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-5/+5
| | | | 's/[ \t]*$//' -i {} \;)
* fix loading of different elements in array then int and string [#5036 ↵Josef Reidinger2010-08-021-0/+12
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Final iteration of use better testing methodsNeeraj Singh2010-05-191-6/+6
| | | | | | [#4652 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix new schema test dependency on Hash#to_xmlJeremy Kemper2009-12-231-0/+1
|
* Use instance_eval for schema blockJoshua Peek2009-12-201-46/+56
|
* Rename define_schema => schemaJoshua Peek2009-12-201-18/+18
|
* Rename SchemaDefinition => SchemaJoshua Peek2009-12-201-24/+24
|
* define_schema for Active ResourceTaryn East2009-12-201-0/+409
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Symbol#to_proc is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-1/+0
|
* Cleanup whitespace introduced in 8377646 and f4f6888Joshua Peek2009-10-021-16/+9
|
* add indifferent access to the attributesTaryn East2009-10-021-0/+13
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Moved all test cases into a new test/cases directory to match Active Record ↵taryn2009-08-193-0/+316
test directory structure. Signed-off-by: Joshua Peek <josh@joshpeek.com>