aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * Tiny fixes to rdocAlexey Mahotkin2010-09-161-1/+1
| |
* | test for #5038Neeraj Singh2010-09-181-0/+8
| |
* | Refactor setup methods by extracting them in abstract_unit, remove TODO.Emilio Tagua2010-09-174-237/+103
| | | | | | | | 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>
* Remove all deprecation warnings in activeresourceCarlos Antonio da Silva2010-09-061-8/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "Setup explicit requires for files with exceptions. Removed them from ↵José Valim2010-09-021-1/+0
| | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
* ActiveModel#to_xml fix (renamed parameter).Andreas Garnæs2010-09-021-0/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Setup explicit requires for files with exceptions. Removed them from ↵Łukasz Strzałkowski2010-09-021-0/+1
| | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com>
* Adding option to ActiveResource to allow you to not reset the previously ↵Mikel Lindsaar2010-08-291-1/+41
| | | | stored requests and responses by passing false to respond_to
* Updating documentation on ActiveResource HTTP Mock and also adding test coverageMikel Lindsaar2010-08-291-0/+28
|
* Make ActiveResource::InvalidRequestError more user friendlyMikel Lindsaar2010-08-251-0/+11
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-143-8/+8
| | | | '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>
* fix escaping id and parameters in path [#5137 state:resolved]Josef Reidinger2010-07-261-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* These tests are trusting in the order of the elements so use OrderedHash ↵Santiago Pastorino2010-07-211-1/+2
| | | | instead of Hash
* Make sure ActiveResource::Errors#from_json doesn't pass nil to #from_array ↵David Trasbo2010-06-261-1/+12
| | | | | | [#3650 state:commited] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix bug where ActiveResource::HttpMock would overwrite Accept/Content-Type ↵Elomar França2010-06-241-0/+71
| | | | | | header to application/xml [#4939 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-241-5/+4
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-142-2/+2
| | | | not "ActiveRecord"
* Adding to_key to ActiveResource objects using ActiveModel::Conversion [#4685 ↵Elomar França2010-05-261-0/+7
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Replace assert with assert_equal in some test casesNeeraj Singh2010-05-211-3/+3
| | | | | | [#4654 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Final iteration of use better testing methodsNeeraj Singh2010-05-192-11/+11
| | | | | | [#4652 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* assert should be replaced with assert_equal in a particular test caseNeeraj Singh2010-05-181-1/+1
| | | | | | [#4636 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* ActiveResource shouldn't consider modules in the pathSantiago Pastorino2010-05-152-0/+10
| | | | | | [#4529 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* Make ActiveResource serialize XML correctly when element_name is set.Santiago Pastorino2010-05-121-0/+36
| | | | | | [#4529] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Make use of to_xml and to_json in testsSantiago Pastorino2010-05-121-2/+7
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Reuse Active Model serialization in Active Resource. [#2584 state:committed]Santiago Pastorino2010-04-261-6/+22
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "create option to include_root_in_json for ActiveResource [#2584 ↵Jeremy Kemper2010-04-251-23/+6
| | | | | | | | | | state:committed]" This reverts commits 72f89b5d971b48a133c4c0af56fbeda35d738dae, 137d8e0b2fe9fcc4fdac6cbbd44ca010784e5972. Should reuse Active Model. [#2584 state:incomplete]
* Make this test pass on > 1.9Santiago Pastorino2010-04-191-1/+5
|
* create option to include_root_in_json for ActiveResource [#2584 state:committed]Santiago Pastorino2010-04-051-6/+19
|
* added require abstract_unit on setter_trap.rbSebastian Martinez2010-03-181-0/+2
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Fix active_resource testsCarl Lerche2010-03-021-2/+3
|
* correct activeresource load pathJoshua Peek2010-02-281-1/+3
|
* no more warning ambiguous first argument; put parentheses or even spaces on ↵Santiago Pastorino2010-02-261-2/+2
| | | | log_subscriber_test
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-232-8/+3
| | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path.
* Merge master.José Valim2010-02-172-3/+9
|\
| * Fix test load paths for those not using bundlerJoshua Peek2010-02-152-3/+9
| |
* | Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-5/+5
|/
* Fix isolated test fail due to missing mochaJeremy Kemper2010-02-101-0/+1
|
* Fix failing specYehuda Katz2010-02-082-1/+7
|
* method_missing errors on activeresource tests, mocha is not required thereSantiago Pastorino2010-02-051-0/+1
| | | | | | [#3825 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Get rails tests running on bundler 0.9Carl Lerche2010-01-311-7/+1
|
* Use format of ARes rather than content-type of remote errors to load errors.Jatinder Singh2010-01-271-0/+13
| | | | | | [#1956 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Default to sync instrumentation.José Valim2010-01-211-11/+2
|
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-171-0/+13
|
* Add notifications to ActiveResource.José Valim2010-01-141-0/+39
|
* Autoload AMo test caseJoshua Peek2010-01-041-1/+0
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* 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
|