couch_rest_adapter 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7b96cd3e242f65785013feb23396a745182ba30
4
- data.tar.gz: 557bf704b3d52af56e3978b8d645ac9ee8bd6530
3
+ metadata.gz: dcfc7e3a56216f4d6a35f0c8608c1650a9ae5087
4
+ data.tar.gz: 7d2449a7a39e3c40d9212f9c28ec69b12b083aa8
5
5
  SHA512:
6
- metadata.gz: 6d166a2f936e01cf0bf6772693328c7b99676c3cd39194a61a6756f82db4c4fe6a3b4f004648b1ab6e9f9b0670c1f51c2cbd1f76e3260498da3cde69992bbf2e
7
- data.tar.gz: dd4816b8a31ad8acf54ea95ac72d46907b9f0bad9fdaf1e10d3f6557179a7446345d49b4dd8cd3fb745feed1cac7909615bd27747fa0c383b94955a25850adee
6
+ metadata.gz: d979416c884d6177402bb4ab389189f8b86d2f5cc428fc9a69c7fc55b80f75f5e454aac9e1e0d462a9ff7d8ae0747f9be81d0229674143b996e039a5f2c3508f
7
+ data.tar.gz: d48411d9e890665894b32393aac4cc30748959fb325ea9ea5a42fbb04007b3d1bfea682bc7b0c700cf58f84ea7eeb5537c168587e9ee6eda64107c7ac5409484
data/README.rdoc CHANGED
@@ -23,6 +23,7 @@ This project rocks and uses MIT-LICENSE.
23
23
  host: localhost
24
24
  port: 5984
25
25
  protocol: http
26
+ design_doc: my_app
26
27
 
27
28
  development:
28
29
  <<: *defaults
@@ -35,19 +36,26 @@ This project rocks and uses MIT-LICENSE.
35
36
 
36
37
  === CouchViews
37
38
 
38
- In order for ```Model.all``` to workyou need to add a view like (code in cs), named 'all':
39
-
40
- (d) ->
41
- split_id = d._id.split('/')
42
- t = split_id[0]
43
- emit t, d
44
-
45
- For 'Model.find_by_attr' to work, you will need this view named like 'by_attribute':
46
-
47
- (doc) ->
48
- type = doc._id.split('/')[0]
49
- for a of doc
50
- emit([type, a, doc[a]], doc._id)
39
+ After installing the gem you should run ```rake db:push:config```
40
+ this will setup a design document called as the database.yml ```design_doc``` value
41
+ with the next structure:
42
+
43
+ {
44
+ "_id": "_design/my_app",
45
+ "language": "coffeescript",
46
+ "views": {
47
+ "all": {
48
+ "map": "(d) ->\n split_id = d._id.split('/')\n t = split_id[0]\n emit t, d\n",
49
+ "reduce": "# This is only for demosntration one can use the built in count\n(keys, values, rereduce)->\n if rereduce\n sum(values)\n else\n values.length\n"
50
+ },
51
+ "by_attribute": {
52
+ "map": "(doc) ->\n type = doc._id.split('/')[0]\n for a of doc\n emit([type, a, doc[a]], doc._id)\n"
53
+ },
54
+ "by_type": {
55
+ "map": "(d)->\n emit d.type.toLowerCase(), d._id if d.type\n"
56
+ },
57
+ }
58
+ }
51
59
 
52
60
 
53
61
  We are planning to add a rake task that setup this view on install.
@@ -1,9 +1,12 @@
1
+ require 'couch_rest_adapter'
2
+ require 'rails'
3
+
1
4
  module CouchRestAdapter
2
5
  class Railtie < Rails::Railtie
3
- initializer "Include your code in the controller" do
4
- ActiveSupport.on_load(:action_controller) do
5
- include CouchRestAdapter
6
- end
6
+ railtie_name :couch_rest_adapter
7
+
8
+ rake_tasks do
9
+ load 'tasks/couch_rest_adapter_tasks.rake'
7
10
  end
8
11
  end
9
12
  end
@@ -1,3 +1,3 @@
1
1
  module CouchRestAdapter
2
- VERSION = "0.3.2"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -2,3 +2,82 @@
2
2
  # task :couch_rest_adapter do
3
3
  # # Task goes here
4
4
  # end
5
+ namespace :db do
6
+
7
+ namespace :push do
8
+ class BaseModel < CouchRestAdapter::Base
9
+ use_default_database
10
+ end
11
+
12
+ view_doc = {
13
+ _id: "_design/#{BaseModel.default_design_doc}",
14
+ language: "coffeescript",
15
+ views: {
16
+ all: {
17
+ map: "(d) ->\n split_id = d._id.split('/')\n t = split_id[0]\n emit t, d\n",
18
+ },
19
+ by_attribute: {
20
+ map: "(doc) ->\n type = doc._id.split('/')[0]\n for a of doc\n emit([type, a, doc[a]], doc._id)\n"
21
+ },
22
+ by_type: {
23
+ map: "(d)->\n emit d.type.toLowerCase(), d._id if d.type\n"
24
+ }
25
+ }
26
+ }
27
+
28
+
29
+ task :config do
30
+ BaseModel.save_doc view_doc
31
+ end
32
+
33
+ task design: :environment do
34
+ path = File.join Rails.root, 'db', 'designs'
35
+ files = Dir.glob("**/*.coffee")
36
+ views = {}
37
+ filters = {}
38
+
39
+ files.each do |filename|
40
+ name, key = File.basename(filename).sub(/.coffee/i, '').split(/\./)
41
+ key ||= 'map'
42
+ data = File.read filename
43
+
44
+ if key == 'filter'
45
+ filters[name] ||= data
46
+ else
47
+ views[name] ||= {}
48
+ views[name][key] = data
49
+ end
50
+ end
51
+
52
+ view_doc = {
53
+ '_id' => "_design/#{BaseModel.default_design_doc}",
54
+ 'language' => 'coffeescript',
55
+ 'views' => views,
56
+ 'filters' => filters
57
+ }
58
+
59
+ begin
60
+ doc = BaseModel.database.get view_doc["_id"]
61
+
62
+ hash_doc = doc.to_hash
63
+ rev = hash_doc.delete('_rev')
64
+
65
+ if hash_doc == view_doc
66
+ puts 'everything up to date'
67
+ else
68
+ view_doc["_rev"] = rev
69
+ puts 'updating design document'
70
+ will_save = true
71
+ end
72
+
73
+ rescue RestClient::ResourceNotFound
74
+ puts 'creating design document'
75
+ will_save = true
76
+ end
77
+
78
+ BaseModel.database.save_doc view_doc if will_save
79
+ end
80
+ end
81
+
82
+ end
83
+
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -2,6 +2,1392 @@
2
2
  CouchRestAdapterTest: test_attributes_are_available_as_methods
3
3
  --------------------------------------------------------------
4
4
  ---------------------------------------------------------
5
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6
+ ---------------------------------------------------------
7
+ -------------------------------------------------------------
8
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
9
+ -------------------------------------------------------------
10
+ --------------------------------------------------------------------------------------------------
11
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
12
+ --------------------------------------------------------------------------------------------------
13
+ ----------------------------------------------------------------------
14
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
15
+ ----------------------------------------------------------------------
16
+ -------------------------------------------------------
17
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
18
+ -------------------------------------------------------
19
+ --------------------------------------------------------------
20
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
21
+ --------------------------------------------------------------
22
+ --------------------------------------------------------------
23
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
24
+ --------------------------------------------------------------
25
+ ---------------------------------------------------------
26
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
27
+ ---------------------------------------------------------
28
+ -------------------------------------------------------------
29
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
30
+ -------------------------------------------------------------
31
+ --------------------------------------------------------------------------------------------------
32
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
33
+ --------------------------------------------------------------------------------------------------
34
+ ----------------------------------------------------------------------
35
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
36
+ ----------------------------------------------------------------------
37
+ -------------------------------------------------------
38
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
39
+ -------------------------------------------------------
40
+ --------------------------------------------------------------
41
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
42
+ --------------------------------------------------------------
43
+ --------------------------------------------------------------
44
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
45
+ --------------------------------------------------------------
46
+ ---------------------------------------------------------
47
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
48
+ ---------------------------------------------------------
49
+ -------------------------------------------------------------
50
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
51
+ -------------------------------------------------------------
52
+ --------------------------------------------------------------------------------------------------
53
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
54
+ --------------------------------------------------------------------------------------------------
55
+ ----------------------------------------------------------------------
56
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
57
+ ----------------------------------------------------------------------
58
+ -------------------------------------------------------
59
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
60
+ -------------------------------------------------------
61
+ --------------------------------------------------------------
62
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
63
+ --------------------------------------------------------------
64
+ --------------------------------------------------------------
65
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
66
+ --------------------------------------------------------------
67
+ ---------------------------------------------------------
68
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
69
+ ---------------------------------------------------------
70
+ -------------------------------------------------------------
71
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
72
+ -------------------------------------------------------------
73
+ --------------------------------------------------------------------------------------------------
74
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
75
+ --------------------------------------------------------------------------------------------------
76
+ ----------------------------------------------------------------------
77
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
78
+ ----------------------------------------------------------------------
79
+ -------------------------------------------------------
80
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
81
+ -------------------------------------------------------
82
+ --------------------------------------------------------------
83
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
84
+ --------------------------------------------------------------
85
+ --------------------------------------------------------------
86
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
87
+ --------------------------------------------------------------
88
+ ---------------------------------------------------------
89
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
90
+ ---------------------------------------------------------
91
+ -------------------------------------------------------------
92
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
93
+ -------------------------------------------------------------
94
+ --------------------------------------------------------------------------------------------------
95
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
96
+ --------------------------------------------------------------------------------------------------
97
+ ----------------------------------------------------------------------
98
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
99
+ ----------------------------------------------------------------------
100
+ -------------------------------------------------------
101
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
102
+ -------------------------------------------------------
103
+ --------------------------------------------------------------
104
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
105
+ --------------------------------------------------------------
106
+ --------------------------------------------------------------
107
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
108
+ --------------------------------------------------------------
109
+ ---------------------------------------------------------
110
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
111
+ ---------------------------------------------------------
112
+ -------------------------------------------------------------
113
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
114
+ -------------------------------------------------------------
115
+ --------------------------------------------------------------------------------------------------
116
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
117
+ --------------------------------------------------------------------------------------------------
118
+ ----------------------------------------------------------------------
119
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
120
+ ----------------------------------------------------------------------
121
+ -------------------------------------------------------
122
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
123
+ -------------------------------------------------------
124
+ --------------------------------------------------------------
125
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
126
+ --------------------------------------------------------------
127
+ --------------------------------------------------------------
128
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
129
+ --------------------------------------------------------------
130
+ ---------------------------------------------------------
131
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
132
+ ---------------------------------------------------------
133
+ -------------------------------------------------------------
134
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
135
+ -------------------------------------------------------------
136
+ --------------------------------------------------------------------------------------------------
137
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
138
+ --------------------------------------------------------------------------------------------------
139
+ ----------------------------------------------------------------------
140
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
141
+ ----------------------------------------------------------------------
142
+ -------------------------------------------------------
143
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
144
+ -------------------------------------------------------
145
+ --------------------------------------------------------------
146
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
147
+ --------------------------------------------------------------
148
+ --------------------------------------------------------------
149
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
150
+ --------------------------------------------------------------
151
+ ---------------------------------------------------------
152
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
153
+ ---------------------------------------------------------
154
+ -------------------------------------------------------------
155
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
156
+ -------------------------------------------------------------
157
+ --------------------------------------------------------------------------------------------------
158
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
159
+ --------------------------------------------------------------------------------------------------
160
+ ----------------------------------------------------------------------
161
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
162
+ ----------------------------------------------------------------------
163
+ -------------------------------------------------------
164
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
165
+ -------------------------------------------------------
166
+ --------------------------------------------------------------
167
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
168
+ --------------------------------------------------------------
169
+ --------------------------------------------------------------
170
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
171
+ --------------------------------------------------------------
172
+ ---------------------------------------------------------
173
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
174
+ ---------------------------------------------------------
175
+ -------------------------------------------------------------
176
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
177
+ -------------------------------------------------------------
178
+ --------------------------------------------------------------------------------------------------
179
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
180
+ --------------------------------------------------------------------------------------------------
181
+ ----------------------------------------------------------------------
182
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
183
+ ----------------------------------------------------------------------
184
+ -------------------------------------------------------
185
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
186
+ -------------------------------------------------------
187
+ --------------------------------------------------------------
188
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
189
+ --------------------------------------------------------------
190
+ --------------------------------------------------------------
191
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
192
+ --------------------------------------------------------------
193
+ ---------------------------------------------------------
194
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
195
+ ---------------------------------------------------------
196
+ -------------------------------------------------------------
197
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
198
+ -------------------------------------------------------------
199
+ --------------------------------------------------------------------------------------------------
200
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
201
+ --------------------------------------------------------------------------------------------------
202
+ ----------------------------------------------------------------------
203
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
204
+ ----------------------------------------------------------------------
205
+ -------------------------------------------------------
206
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
207
+ -------------------------------------------------------
208
+ --------------------------------------------------------------
209
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
210
+ --------------------------------------------------------------
211
+ --------------------------------------------------------------
212
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
213
+ --------------------------------------------------------------
214
+ ---------------------------------------------------------
215
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
216
+ ---------------------------------------------------------
217
+ -------------------------------------------------------------
218
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
219
+ -------------------------------------------------------------
220
+ --------------------------------------------------------------------------------------------------
221
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
222
+ --------------------------------------------------------------------------------------------------
223
+ ----------------------------------------------------------------------
224
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
225
+ ----------------------------------------------------------------------
226
+ -------------------------------------------------------
227
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
228
+ -------------------------------------------------------
229
+ --------------------------------------------------------------
230
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
231
+ --------------------------------------------------------------
232
+ --------------------------------------------------------------
233
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
234
+ --------------------------------------------------------------
235
+ ---------------------------------------------------------
236
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
237
+ ---------------------------------------------------------
238
+ -------------------------------------------------------------
239
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
240
+ -------------------------------------------------------------
241
+ --------------------------------------------------------------------------------------------------
242
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
243
+ --------------------------------------------------------------------------------------------------
244
+ ----------------------------------------------------------------------
245
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
246
+ ----------------------------------------------------------------------
247
+ -------------------------------------------------------
248
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
249
+ -------------------------------------------------------
250
+ --------------------------------------------------------------
251
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
252
+ --------------------------------------------------------------
253
+ --------------------------------------------------------------
254
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
255
+ --------------------------------------------------------------
256
+ ---------------------------------------------------------
257
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
258
+ ---------------------------------------------------------
259
+ -------------------------------------------------------------
260
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
261
+ -------------------------------------------------------------
262
+ --------------------------------------------------------------------------------------------------
263
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
264
+ --------------------------------------------------------------------------------------------------
265
+ ----------------------------------------------------------------------
266
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
267
+ ----------------------------------------------------------------------
268
+ -------------------------------------------------------
269
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
270
+ -------------------------------------------------------
271
+ --------------------------------------------------------------
272
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
273
+ --------------------------------------------------------------
274
+ --------------------------------------------------------------
275
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
276
+ --------------------------------------------------------------
277
+ ---------------------------------------------------------
278
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
279
+ ---------------------------------------------------------
280
+ -------------------------------------------------------------
281
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
282
+ -------------------------------------------------------------
283
+ --------------------------------------------------------------------------------------------------
284
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
285
+ --------------------------------------------------------------------------------------------------
286
+ ----------------------------------------------------------------------
287
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
288
+ ----------------------------------------------------------------------
289
+ -------------------------------------------------------
290
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
291
+ -------------------------------------------------------
292
+ --------------------------------------------------------------
293
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
294
+ --------------------------------------------------------------
295
+ --------------------------------------------------------------
296
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
297
+ --------------------------------------------------------------
298
+ ---------------------------------------------------------
299
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
300
+ ---------------------------------------------------------
301
+ -------------------------------------------------------------
302
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
303
+ -------------------------------------------------------------
304
+ --------------------------------------------------------------------------------------------------
305
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
306
+ --------------------------------------------------------------------------------------------------
307
+ ----------------------------------------------------------------------
308
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
309
+ ----------------------------------------------------------------------
310
+ -------------------------------------------------------
311
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
312
+ -------------------------------------------------------
313
+ --------------------------------------------------------------
314
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
315
+ --------------------------------------------------------------
316
+ --------------------------------------------------------------
317
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
318
+ --------------------------------------------------------------
319
+ ---------------------------------------------------------
320
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
321
+ ---------------------------------------------------------
322
+ -------------------------------------------------------------
323
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
324
+ -------------------------------------------------------------
325
+ --------------------------------------------------------------------------------------------------
326
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
327
+ --------------------------------------------------------------------------------------------------
328
+ ----------------------------------------------------------------------
329
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
330
+ ----------------------------------------------------------------------
331
+ -------------------------------------------------------
332
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
333
+ -------------------------------------------------------
334
+ --------------------------------------------------------------
335
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
336
+ --------------------------------------------------------------
337
+ --------------------------------------------------------------
338
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
339
+ --------------------------------------------------------------
340
+ ---------------------------------------------------------
341
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
342
+ ---------------------------------------------------------
343
+ -------------------------------------------------------------
344
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
345
+ -------------------------------------------------------------
346
+ --------------------------------------------------------------------------------------------------
347
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
348
+ --------------------------------------------------------------------------------------------------
349
+ ----------------------------------------------------------------------
350
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
351
+ ----------------------------------------------------------------------
352
+ -------------------------------------------------------
353
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
354
+ -------------------------------------------------------
355
+ --------------------------------------------------------------
356
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
357
+ --------------------------------------------------------------
358
+ --------------------------------------------------------------
359
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
360
+ --------------------------------------------------------------
361
+ ---------------------------------------------------------
362
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
363
+ ---------------------------------------------------------
364
+ -------------------------------------------------------------
365
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
366
+ -------------------------------------------------------------
367
+ --------------------------------------------------------------------------------------------------
368
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
369
+ --------------------------------------------------------------------------------------------------
370
+ ----------------------------------------------------------------------
371
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
372
+ ----------------------------------------------------------------------
373
+ -------------------------------------------------------
374
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
375
+ -------------------------------------------------------
376
+ --------------------------------------------------------------
377
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
378
+ --------------------------------------------------------------
379
+ --------------------------------------------------------------
380
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
381
+ --------------------------------------------------------------
382
+ ---------------------------------------------------------
383
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
384
+ ---------------------------------------------------------
385
+ -------------------------------------------------------------
386
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
387
+ -------------------------------------------------------------
388
+ --------------------------------------------------------------------------------------------------
389
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
390
+ --------------------------------------------------------------------------------------------------
391
+ ----------------------------------------------------------------------
392
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
393
+ ----------------------------------------------------------------------
394
+ -------------------------------------------------------
395
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
396
+ -------------------------------------------------------
397
+ --------------------------------------------------------------
398
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
399
+ --------------------------------------------------------------
400
+ --------------------------------------------------------------
401
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
402
+ --------------------------------------------------------------
403
+ ---------------------------------------------------------
404
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
405
+ ---------------------------------------------------------
406
+ -------------------------------------------------------------
407
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
408
+ -------------------------------------------------------------
409
+ --------------------------------------------------------------------------------------------------
410
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
411
+ --------------------------------------------------------------------------------------------------
412
+ ----------------------------------------------------------------------
413
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
414
+ ----------------------------------------------------------------------
415
+ -------------------------------------------------------
416
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
417
+ -------------------------------------------------------
418
+ --------------------------------------------------------------
419
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
420
+ --------------------------------------------------------------
421
+ --------------------------------------------------------------
422
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
423
+ --------------------------------------------------------------
424
+ ---------------------------------------------------------
425
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
426
+ ---------------------------------------------------------
427
+ -------------------------------------------------------------
428
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
429
+ -------------------------------------------------------------
430
+ --------------------------------------------------------------------------------------------------
431
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
432
+ --------------------------------------------------------------------------------------------------
433
+ ----------------------------------------------------------------------
434
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
435
+ ----------------------------------------------------------------------
436
+ -------------------------------------------------------
437
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
438
+ -------------------------------------------------------
439
+ --------------------------------------------------------------
440
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
441
+ --------------------------------------------------------------
442
+ --------------------------------------------------------------
443
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
444
+ --------------------------------------------------------------
445
+ ---------------------------------------------------------
446
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
447
+ ---------------------------------------------------------
448
+ -------------------------------------------------------------
449
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
450
+ -------------------------------------------------------------
451
+ --------------------------------------------------------------------------------------------------
452
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
453
+ --------------------------------------------------------------------------------------------------
454
+ ----------------------------------------------------------------------
455
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
456
+ ----------------------------------------------------------------------
457
+ -------------------------------------------------------
458
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
459
+ -------------------------------------------------------
460
+ --------------------------------------------------------------
461
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
462
+ --------------------------------------------------------------
463
+ --------------------------------------------------------------
464
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
465
+ --------------------------------------------------------------
466
+ ---------------------------------------------------------
467
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
468
+ ---------------------------------------------------------
469
+ -------------------------------------------------------------
470
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
471
+ -------------------------------------------------------------
472
+ --------------------------------------------------------------------------------------------------
473
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
474
+ --------------------------------------------------------------------------------------------------
475
+ ----------------------------------------------------------------------
476
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
477
+ ----------------------------------------------------------------------
478
+ -------------------------------------------------------
479
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
480
+ -------------------------------------------------------
481
+ --------------------------------------------------------------
482
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
483
+ --------------------------------------------------------------
484
+ --------------------------------------------------------------
485
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
486
+ --------------------------------------------------------------
487
+ ---------------------------------------------------------
488
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
489
+ ---------------------------------------------------------
490
+ -------------------------------------------------------------
491
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
492
+ -------------------------------------------------------------
493
+ --------------------------------------------------------------------------------------------------
494
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
495
+ --------------------------------------------------------------------------------------------------
496
+ ----------------------------------------------------------------------
497
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
498
+ ----------------------------------------------------------------------
499
+ -------------------------------------------------------
500
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
501
+ -------------------------------------------------------
502
+ --------------------------------------------------------------
503
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
504
+ --------------------------------------------------------------
505
+ --------------------------------------------------------------
506
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
507
+ --------------------------------------------------------------
508
+ ---------------------------------------------------------
509
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
510
+ ---------------------------------------------------------
511
+ -------------------------------------------------------------
512
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
513
+ -------------------------------------------------------------
514
+ --------------------------------------------------------------------------------------------------
515
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
516
+ --------------------------------------------------------------------------------------------------
517
+ ----------------------------------------------------------------------
518
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
519
+ ----------------------------------------------------------------------
520
+ -------------------------------------------------------
521
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
522
+ -------------------------------------------------------
523
+ --------------------------------------------------------------
524
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
525
+ --------------------------------------------------------------
526
+ --------------------------------------------------------------
527
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
528
+ --------------------------------------------------------------
529
+ ---------------------------------------------------------
530
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
531
+ ---------------------------------------------------------
532
+ -------------------------------------------------------------
533
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
534
+ -------------------------------------------------------------
535
+ --------------------------------------------------------------------------------------------------
536
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
537
+ --------------------------------------------------------------------------------------------------
538
+ ----------------------------------------------------------------------
539
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
540
+ ----------------------------------------------------------------------
541
+ -------------------------------------------------------
542
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
543
+ -------------------------------------------------------
544
+ --------------------------------------------------------------
545
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
546
+ --------------------------------------------------------------
547
+ --------------------------------------------------------------
548
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
549
+ --------------------------------------------------------------
550
+ ---------------------------------------------------------
551
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
552
+ ---------------------------------------------------------
553
+ -------------------------------------------------------------
554
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
555
+ -------------------------------------------------------------
556
+ --------------------------------------------------------------------------------------------------
557
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
558
+ --------------------------------------------------------------------------------------------------
559
+ ----------------------------------------------------------------------
560
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
561
+ ----------------------------------------------------------------------
562
+ -------------------------------------------------------
563
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
564
+ -------------------------------------------------------
565
+ --------------------------------------------------------------
566
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
567
+ --------------------------------------------------------------
568
+ --------------------------------------------------------------
569
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
570
+ --------------------------------------------------------------
571
+ ---------------------------------------------------------
572
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
573
+ ---------------------------------------------------------
574
+ -------------------------------------------------------------
575
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
576
+ -------------------------------------------------------------
577
+ --------------------------------------------------------------------------------------------------
578
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
579
+ --------------------------------------------------------------------------------------------------
580
+ ----------------------------------------------------------------------
581
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
582
+ ----------------------------------------------------------------------
583
+ -------------------------------------------------------
584
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
585
+ -------------------------------------------------------
586
+ --------------------------------------------------------------
587
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
588
+ --------------------------------------------------------------
589
+ --------------------------------------------------------------
590
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
591
+ --------------------------------------------------------------
592
+ ---------------------------------------------------------
593
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
594
+ ---------------------------------------------------------
595
+ -------------------------------------------------------------
596
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
597
+ -------------------------------------------------------------
598
+ --------------------------------------------------------------------------------------------------
599
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
600
+ --------------------------------------------------------------------------------------------------
601
+ ----------------------------------------------------------------------
602
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
603
+ ----------------------------------------------------------------------
604
+ -------------------------------------------------------
605
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
606
+ -------------------------------------------------------
607
+ --------------------------------------------------------------
608
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
609
+ --------------------------------------------------------------
610
+ --------------------------------------------------------------
611
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
612
+ --------------------------------------------------------------
613
+ ---------------------------------------------------------
614
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
615
+ ---------------------------------------------------------
616
+ -------------------------------------------------------------
617
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
618
+ -------------------------------------------------------------
619
+ --------------------------------------------------------------------------------------------------
620
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
621
+ --------------------------------------------------------------------------------------------------
622
+ ----------------------------------------------------------------------
623
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
624
+ ----------------------------------------------------------------------
625
+ -------------------------------------------------------
626
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
627
+ -------------------------------------------------------
628
+ --------------------------------------------------------------
629
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
630
+ --------------------------------------------------------------
631
+ --------------------------------------------------------------
632
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
633
+ --------------------------------------------------------------
634
+ ---------------------------------------------------------
635
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
636
+ ---------------------------------------------------------
637
+ -------------------------------------------------------------
638
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
639
+ -------------------------------------------------------------
640
+ --------------------------------------------------------------------------------------------------
641
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
642
+ --------------------------------------------------------------------------------------------------
643
+ ----------------------------------------------------------------------
644
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
645
+ ----------------------------------------------------------------------
646
+ -------------------------------------------------------
647
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
648
+ -------------------------------------------------------
649
+ --------------------------------------------------------------
650
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
651
+ --------------------------------------------------------------
652
+ --------------------------------------------------------------
653
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
654
+ --------------------------------------------------------------
655
+ ---------------------------------------------------------
656
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
657
+ ---------------------------------------------------------
658
+ -------------------------------------------------------------
659
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
660
+ -------------------------------------------------------------
661
+ --------------------------------------------------------------------------------------------------
662
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
663
+ --------------------------------------------------------------------------------------------------
664
+ ----------------------------------------------------------------------
665
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
666
+ ----------------------------------------------------------------------
667
+ -------------------------------------------------------
668
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
669
+ -------------------------------------------------------
670
+ --------------------------------------------------------------
671
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
672
+ --------------------------------------------------------------
673
+ --------------------------------------------------------------
674
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
675
+ --------------------------------------------------------------
676
+ ---------------------------------------------------------
677
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
678
+ ---------------------------------------------------------
679
+ -------------------------------------------------------------
680
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
681
+ -------------------------------------------------------------
682
+ --------------------------------------------------------------------------------------------------
683
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
684
+ --------------------------------------------------------------------------------------------------
685
+ ----------------------------------------------------------------------
686
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
687
+ ----------------------------------------------------------------------
688
+ -------------------------------------------------------
689
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
690
+ -------------------------------------------------------
691
+ --------------------------------------------------------------
692
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
693
+ --------------------------------------------------------------
694
+ --------------------------------------------------------------
695
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
696
+ --------------------------------------------------------------
697
+ ---------------------------------------------------------
698
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
699
+ ---------------------------------------------------------
700
+ -------------------------------------------------------------
701
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
702
+ -------------------------------------------------------------
703
+ --------------------------------------------------------------------------------------------------
704
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
705
+ --------------------------------------------------------------------------------------------------
706
+ ----------------------------------------------------------------------
707
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
708
+ ----------------------------------------------------------------------
709
+ -------------------------------------------------------
710
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
711
+ -------------------------------------------------------
712
+ --------------------------------------------------------------
713
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
714
+ --------------------------------------------------------------
715
+ --------------------------------------------------------------
716
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
717
+ --------------------------------------------------------------
718
+ ---------------------------------------------------------
719
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
720
+ ---------------------------------------------------------
721
+ -------------------------------------------------------------
722
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
723
+ -------------------------------------------------------------
724
+ --------------------------------------------------------------------------------------------------
725
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
726
+ --------------------------------------------------------------------------------------------------
727
+ ----------------------------------------------------------------------
728
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
729
+ ----------------------------------------------------------------------
730
+ -------------------------------------------------------
731
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
732
+ -------------------------------------------------------
733
+ --------------------------------------------------------------
734
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
735
+ --------------------------------------------------------------
736
+ --------------------------------------------------------------
737
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
738
+ --------------------------------------------------------------
739
+ ---------------------------------------------------------
740
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
741
+ ---------------------------------------------------------
742
+ -------------------------------------------------------------
743
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
744
+ -------------------------------------------------------------
745
+ --------------------------------------------------------------------------------------------------
746
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
747
+ --------------------------------------------------------------------------------------------------
748
+ ----------------------------------------------------------------------
749
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
750
+ ----------------------------------------------------------------------
751
+ -------------------------------------------------------
752
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
753
+ -------------------------------------------------------
754
+ --------------------------------------------------------------
755
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
756
+ --------------------------------------------------------------
757
+ --------------------------------------------------------------
758
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
759
+ --------------------------------------------------------------
760
+ ---------------------------------------------------------
761
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
762
+ ---------------------------------------------------------
763
+ -------------------------------------------------------------
764
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
765
+ -------------------------------------------------------------
766
+ --------------------------------------------------------------------------------------------------
767
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
768
+ --------------------------------------------------------------------------------------------------
769
+ ----------------------------------------------------------------------
770
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
771
+ ----------------------------------------------------------------------
772
+ -------------------------------------------------------
773
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
774
+ -------------------------------------------------------
775
+ --------------------------------------------------------------
776
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
777
+ --------------------------------------------------------------
778
+ --------------------------------------------------------------
779
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
780
+ --------------------------------------------------------------
781
+ ---------------------------------------------------------
782
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
783
+ ---------------------------------------------------------
784
+ -------------------------------------------------------------
785
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
786
+ -------------------------------------------------------------
787
+ --------------------------------------------------------------------------------------------------
788
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
789
+ --------------------------------------------------------------------------------------------------
790
+ ----------------------------------------------------------------------
791
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
792
+ ----------------------------------------------------------------------
793
+ -------------------------------------------------------
794
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
795
+ -------------------------------------------------------
796
+ --------------------------------------------------------------
797
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
798
+ --------------------------------------------------------------
799
+ --------------------------------------------------------------
800
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
801
+ --------------------------------------------------------------
802
+ ---------------------------------------------------------
803
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
804
+ ---------------------------------------------------------
805
+ -------------------------------------------------------------
806
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
807
+ -------------------------------------------------------------
808
+ --------------------------------------------------------------------------------------------------
809
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
810
+ --------------------------------------------------------------------------------------------------
811
+ ----------------------------------------------------------------------
812
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
813
+ ----------------------------------------------------------------------
814
+ -------------------------------------------------------
815
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
816
+ -------------------------------------------------------
817
+ --------------------------------------------------------------
818
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
819
+ --------------------------------------------------------------
820
+ --------------------------------------------------------------
821
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
822
+ --------------------------------------------------------------
823
+ ---------------------------------------------------------
824
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
825
+ ---------------------------------------------------------
826
+ -------------------------------------------------------------
827
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
828
+ -------------------------------------------------------------
829
+ --------------------------------------------------------------------------------------------------
830
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
831
+ --------------------------------------------------------------------------------------------------
832
+ ----------------------------------------------------------------------
833
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
834
+ ----------------------------------------------------------------------
835
+ -------------------------------------------------------
836
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
837
+ -------------------------------------------------------
838
+ --------------------------------------------------------------
839
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
840
+ --------------------------------------------------------------
841
+ --------------------------------------------------------------
842
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
843
+ --------------------------------------------------------------
844
+ ---------------------------------------------------------
845
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
846
+ ---------------------------------------------------------
847
+ -------------------------------------------------------------
848
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
849
+ -------------------------------------------------------------
850
+ --------------------------------------------------------------------------------------------------
851
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
852
+ --------------------------------------------------------------------------------------------------
853
+ ----------------------------------------------------------------------
854
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
855
+ ----------------------------------------------------------------------
856
+ -------------------------------------------------------
857
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
858
+ -------------------------------------------------------
859
+ --------------------------------------------------------------
860
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
861
+ --------------------------------------------------------------
862
+ --------------------------------------------------------------
863
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
864
+ --------------------------------------------------------------
865
+ ---------------------------------------------------------
866
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
867
+ ---------------------------------------------------------
868
+ -------------------------------------------------------------
869
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
870
+ -------------------------------------------------------------
871
+ --------------------------------------------------------------------------------------------------
872
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
873
+ --------------------------------------------------------------------------------------------------
874
+ ----------------------------------------------------------------------
875
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
876
+ ----------------------------------------------------------------------
877
+ -------------------------------------------------------
878
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
879
+ -------------------------------------------------------
880
+ --------------------------------------------------------------
881
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
882
+ --------------------------------------------------------------
883
+ --------------------------------------------------------------
884
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
885
+ --------------------------------------------------------------
886
+ ---------------------------------------------------------
887
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
888
+ ---------------------------------------------------------
889
+ -------------------------------------------------------------
890
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
891
+ -------------------------------------------------------------
892
+ --------------------------------------------------------------------------------------------------
893
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
894
+ --------------------------------------------------------------------------------------------------
895
+ ----------------------------------------------------------------------
896
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
897
+ ----------------------------------------------------------------------
898
+ -------------------------------------------------------
899
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
900
+ -------------------------------------------------------
901
+ --------------------------------------------------------------
902
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
903
+ --------------------------------------------------------------
904
+ --------------------------------------------------------------
905
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
906
+ --------------------------------------------------------------
907
+ ---------------------------------------------------------
908
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
909
+ ---------------------------------------------------------
910
+ -------------------------------------------------------------
911
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
912
+ -------------------------------------------------------------
913
+ --------------------------------------------------------------------------------------------------
914
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
915
+ --------------------------------------------------------------------------------------------------
916
+ ----------------------------------------------------------------------
917
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
918
+ ----------------------------------------------------------------------
919
+ -------------------------------------------------------
920
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
921
+ -------------------------------------------------------
922
+ --------------------------------------------------------------
923
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
924
+ --------------------------------------------------------------
925
+ --------------------------------------------------------------
926
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
927
+ --------------------------------------------------------------
928
+ ---------------------------------------------------------
929
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
930
+ ---------------------------------------------------------
931
+ -------------------------------------------------------------
932
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
933
+ -------------------------------------------------------------
934
+ --------------------------------------------------------------------------------------------------
935
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
936
+ --------------------------------------------------------------------------------------------------
937
+ ----------------------------------------------------------------------
938
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
939
+ ----------------------------------------------------------------------
940
+ -------------------------------------------------------
941
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
942
+ -------------------------------------------------------
943
+ --------------------------------------------------------------
944
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
945
+ --------------------------------------------------------------
946
+ --------------------------------------------------------------
947
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
948
+ --------------------------------------------------------------
949
+ ---------------------------------------------------------
950
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
951
+ ---------------------------------------------------------
952
+ -------------------------------------------------------------
953
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
954
+ -------------------------------------------------------------
955
+ --------------------------------------------------------------------------------------------------
956
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
957
+ --------------------------------------------------------------------------------------------------
958
+ ----------------------------------------------------------------------
959
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
960
+ ----------------------------------------------------------------------
961
+ -------------------------------------------------------
962
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
963
+ -------------------------------------------------------
964
+ --------------------------------------------------------------
965
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
966
+ --------------------------------------------------------------
967
+ --------------------------------------------------------------
968
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
969
+ --------------------------------------------------------------
970
+ ---------------------------------------------------------
971
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
972
+ ---------------------------------------------------------
973
+ -------------------------------------------------------------
974
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
975
+ -------------------------------------------------------------
976
+ --------------------------------------------------------------------------------------------------
977
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
978
+ --------------------------------------------------------------------------------------------------
979
+ ----------------------------------------------------------------------
980
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
981
+ ----------------------------------------------------------------------
982
+ -------------------------------------------------------
983
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
984
+ -------------------------------------------------------
985
+ --------------------------------------------------------------
986
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
987
+ --------------------------------------------------------------
988
+ --------------------------------------------------------------
989
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
990
+ --------------------------------------------------------------
991
+ ---------------------------------------------------------
992
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
993
+ ---------------------------------------------------------
994
+ -------------------------------------------------------------
995
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
996
+ -------------------------------------------------------------
997
+ --------------------------------------------------------------------------------------------------
998
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
999
+ --------------------------------------------------------------------------------------------------
1000
+ ----------------------------------------------------------------------
1001
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1002
+ ----------------------------------------------------------------------
1003
+ -------------------------------------------------------
1004
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1005
+ -------------------------------------------------------
1006
+ --------------------------------------------------------------
1007
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1008
+ --------------------------------------------------------------
1009
+ --------------------------------------------------------------
1010
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1011
+ --------------------------------------------------------------
1012
+ ---------------------------------------------------------
1013
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1014
+ ---------------------------------------------------------
1015
+ -------------------------------------------------------------
1016
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1017
+ -------------------------------------------------------------
1018
+ --------------------------------------------------------------------------------------------------
1019
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1020
+ --------------------------------------------------------------------------------------------------
1021
+ ----------------------------------------------------------------------
1022
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1023
+ ----------------------------------------------------------------------
1024
+ -------------------------------------------------------
1025
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1026
+ -------------------------------------------------------
1027
+ --------------------------------------------------------------
1028
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1029
+ --------------------------------------------------------------
1030
+ --------------------------------------------------------------
1031
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1032
+ --------------------------------------------------------------
1033
+ ---------------------------------------------------------
1034
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1035
+ ---------------------------------------------------------
1036
+ -------------------------------------------------------------
1037
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1038
+ -------------------------------------------------------------
1039
+ --------------------------------------------------------------------------------------------------
1040
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1041
+ --------------------------------------------------------------------------------------------------
1042
+ ----------------------------------------------------------------------
1043
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1044
+ ----------------------------------------------------------------------
1045
+ -------------------------------------------------------
1046
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1047
+ -------------------------------------------------------
1048
+ --------------------------------------------------------------
1049
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1050
+ --------------------------------------------------------------
1051
+ --------------------------------------------------------------
1052
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1053
+ --------------------------------------------------------------
1054
+ ---------------------------------------------------------
1055
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1056
+ ---------------------------------------------------------
1057
+ ---------------------------------------------------------
1058
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1059
+ ---------------------------------------------------------
1060
+ -------------------------------------------------------------
1061
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1062
+ -------------------------------------------------------------
1063
+ --------------------------------------------------------------------------------------------------
1064
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1065
+ --------------------------------------------------------------------------------------------------
1066
+ ----------------------------------------------------------------------
1067
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1068
+ ----------------------------------------------------------------------
1069
+ -------------------------------------------------------
1070
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1071
+ -------------------------------------------------------
1072
+ --------------------------------------------------------------
1073
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1074
+ --------------------------------------------------------------
1075
+ --------------------------------------------------------------
1076
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1077
+ --------------------------------------------------------------
1078
+ ---------------------------------------------------------
1079
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1080
+ ---------------------------------------------------------
1081
+ ---------------------------------------------------------
1082
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1083
+ ---------------------------------------------------------
1084
+ -------------------------------------------------------------
1085
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1086
+ -------------------------------------------------------------
1087
+ --------------------------------------------------------------------------------------------------
1088
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1089
+ --------------------------------------------------------------------------------------------------
1090
+ ----------------------------------------------------------------------
1091
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1092
+ ----------------------------------------------------------------------
1093
+ -------------------------------------------------------
1094
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1095
+ -------------------------------------------------------
1096
+ --------------------------------------------------------------
1097
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1098
+ --------------------------------------------------------------
1099
+ --------------------------------------------------------------
1100
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1101
+ --------------------------------------------------------------
1102
+ ---------------------------------------------------------
1103
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1104
+ ---------------------------------------------------------
1105
+ ---------------------------------------------------------
1106
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1107
+ ---------------------------------------------------------
1108
+ -------------------------------------------------------------
1109
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1110
+ -------------------------------------------------------------
1111
+ --------------------------------------------------------------------------------------------------
1112
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1113
+ --------------------------------------------------------------------------------------------------
1114
+ ----------------------------------------------------------------------
1115
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1116
+ ----------------------------------------------------------------------
1117
+ -------------------------------------------------------
1118
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1119
+ -------------------------------------------------------
1120
+ --------------------------------------------------------------
1121
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1122
+ --------------------------------------------------------------
1123
+ --------------------------------------------------------------
1124
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1125
+ --------------------------------------------------------------
1126
+ ---------------------------------------------------------
1127
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1128
+ ---------------------------------------------------------
1129
+ ---------------------------------------------------------
1130
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1131
+ ---------------------------------------------------------
1132
+ -------------------------------------------------------------
1133
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1134
+ -------------------------------------------------------------
1135
+ --------------------------------------------------------------------------------------------------
1136
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1137
+ --------------------------------------------------------------------------------------------------
1138
+ ----------------------------------------------------------------------
1139
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1140
+ ----------------------------------------------------------------------
1141
+ -------------------------------------------------------
1142
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1143
+ -------------------------------------------------------
1144
+ --------------------------------------------------------------
1145
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1146
+ --------------------------------------------------------------
1147
+ --------------------------------------------------------------
1148
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1149
+ --------------------------------------------------------------
1150
+ ---------------------------------------------------------
1151
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1152
+ ---------------------------------------------------------
1153
+ ---------------------------------------------------------
1154
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1155
+ ---------------------------------------------------------
1156
+ -------------------------------------------------------------
1157
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1158
+ -------------------------------------------------------------
1159
+ --------------------------------------------------------------------------------------------------
1160
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1161
+ --------------------------------------------------------------------------------------------------
1162
+ ----------------------------------------------------------------------
1163
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1164
+ ----------------------------------------------------------------------
1165
+ -------------------------------------------------------
1166
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1167
+ -------------------------------------------------------
1168
+ --------------------------------------------------------------
1169
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1170
+ --------------------------------------------------------------
1171
+ --------------------------------------------------------------
1172
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1173
+ --------------------------------------------------------------
1174
+ ---------------------------------------------------------
1175
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1176
+ ---------------------------------------------------------
1177
+ ---------------------------------------------------------
1178
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1179
+ ---------------------------------------------------------
1180
+ -------------------------------------------------------------
1181
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1182
+ -------------------------------------------------------------
1183
+ --------------------------------------------------------------------------------------------------
1184
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1185
+ --------------------------------------------------------------------------------------------------
1186
+ ----------------------------------------------------------------------
1187
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1188
+ ----------------------------------------------------------------------
1189
+ -------------------------------------------------------
1190
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1191
+ -------------------------------------------------------
1192
+ --------------------------------------------------------------
1193
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1194
+ --------------------------------------------------------------
1195
+ --------------------------------------------------------------
1196
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1197
+ --------------------------------------------------------------
1198
+ ---------------------------------------------------------
1199
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1200
+ ---------------------------------------------------------
1201
+ ---------------------------------------------------------
1202
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1203
+ ---------------------------------------------------------
1204
+ -------------------------------------------------------------
1205
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1206
+ -------------------------------------------------------------
1207
+ --------------------------------------------------------------------------------------------------
1208
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1209
+ --------------------------------------------------------------------------------------------------
1210
+ ----------------------------------------------------------------------
1211
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1212
+ ----------------------------------------------------------------------
1213
+ -------------------------------------------------------
1214
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1215
+ -------------------------------------------------------
1216
+ --------------------------------------------------------------
1217
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1218
+ --------------------------------------------------------------
1219
+ --------------------------------------------------------------
1220
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1221
+ --------------------------------------------------------------
1222
+ ---------------------------------------------------------
1223
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1224
+ ---------------------------------------------------------
1225
+ ---------------------------------------------------------
1226
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1227
+ ---------------------------------------------------------
1228
+ -------------------------------------------------------------
1229
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1230
+ -------------------------------------------------------------
1231
+ --------------------------------------------------------------------------------------------------
1232
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1233
+ --------------------------------------------------------------------------------------------------
1234
+ ----------------------------------------------------------------------
1235
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1236
+ ----------------------------------------------------------------------
1237
+ -------------------------------------------------------
1238
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1239
+ -------------------------------------------------------
1240
+ --------------------------------------------------------------
1241
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1242
+ --------------------------------------------------------------
1243
+ --------------------------------------------------------------
1244
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1245
+ --------------------------------------------------------------
1246
+ ---------------------------------------------------------
1247
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1248
+ ---------------------------------------------------------
1249
+ ---------------------------------------------------------
1250
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1251
+ ---------------------------------------------------------
1252
+ -------------------------------------------------------------
1253
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1254
+ -------------------------------------------------------------
1255
+ --------------------------------------------------------------------------------------------------
1256
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1257
+ --------------------------------------------------------------------------------------------------
1258
+ ----------------------------------------------------------------------
1259
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1260
+ ----------------------------------------------------------------------
1261
+ -------------------------------------------------------
1262
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1263
+ -------------------------------------------------------
1264
+ --------------------------------------------------------------
1265
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1266
+ --------------------------------------------------------------
1267
+ --------------------------------------------------------------
1268
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1269
+ --------------------------------------------------------------
1270
+ ---------------------------------------------------------
1271
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1272
+ ---------------------------------------------------------
1273
+ ---------------------------------------------------------
1274
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1275
+ ---------------------------------------------------------
1276
+ -------------------------------------------------------------
1277
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1278
+ -------------------------------------------------------------
1279
+ --------------------------------------------------------------------------------------------------
1280
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1281
+ --------------------------------------------------------------------------------------------------
1282
+ ----------------------------------------------------------------------
1283
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1284
+ ----------------------------------------------------------------------
1285
+ -------------------------------------------------------
1286
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1287
+ -------------------------------------------------------
1288
+ --------------------------------------------------------------
1289
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1290
+ --------------------------------------------------------------
1291
+ --------------------------------------------------------------
1292
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1293
+ --------------------------------------------------------------
1294
+ ---------------------------------------------------------
1295
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1296
+ ---------------------------------------------------------
1297
+ ---------------------------------------------------------
1298
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1299
+ ---------------------------------------------------------
1300
+ -------------------------------------------------------------
1301
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1302
+ -------------------------------------------------------------
1303
+ --------------------------------------------------------------------------------------------------
1304
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1305
+ --------------------------------------------------------------------------------------------------
1306
+ ----------------------------------------------------------------------
1307
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1308
+ ----------------------------------------------------------------------
1309
+ -------------------------------------------------------
1310
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1311
+ -------------------------------------------------------
1312
+ --------------------------------------------------------------
1313
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1314
+ --------------------------------------------------------------
1315
+ --------------------------------------------------------------
1316
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1317
+ --------------------------------------------------------------
1318
+ ---------------------------------------------------------
1319
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1320
+ ---------------------------------------------------------
1321
+ ---------------------------------------------------------
1322
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1323
+ ---------------------------------------------------------
1324
+ -------------------------------------------------------------
1325
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1326
+ -------------------------------------------------------------
1327
+ --------------------------------------------------------------------------------------------------
1328
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1329
+ --------------------------------------------------------------------------------------------------
1330
+ ----------------------------------------------------------------------
1331
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1332
+ ----------------------------------------------------------------------
1333
+ -------------------------------------------------------
1334
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1335
+ -------------------------------------------------------
1336
+ --------------------------------------------------------------
1337
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1338
+ --------------------------------------------------------------
1339
+ --------------------------------------------------------------
1340
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1341
+ --------------------------------------------------------------
1342
+ ---------------------------------------------------------
1343
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1344
+ ---------------------------------------------------------
1345
+ ---------------------------------------------------------
1346
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1347
+ ---------------------------------------------------------
1348
+ -------------------------------------------------------------
1349
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1350
+ -------------------------------------------------------------
1351
+ --------------------------------------------------------------------------------------------------
1352
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1353
+ --------------------------------------------------------------------------------------------------
1354
+ ----------------------------------------------------------------------
1355
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1356
+ ----------------------------------------------------------------------
1357
+ -------------------------------------------------------
1358
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1359
+ -------------------------------------------------------
1360
+ --------------------------------------------------------------
1361
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1362
+ --------------------------------------------------------------
1363
+ --------------------------------------------------------------
1364
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1365
+ --------------------------------------------------------------
1366
+ ---------------------------------------------------------
1367
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
1368
+ ---------------------------------------------------------
1369
+ ---------------------------------------------------------
1370
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
1371
+ ---------------------------------------------------------
1372
+ -------------------------------------------------------------
1373
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
1374
+ -------------------------------------------------------------
1375
+ --------------------------------------------------------------------------------------------------
1376
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
1377
+ --------------------------------------------------------------------------------------------------
1378
+ ----------------------------------------------------------------------
1379
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
1380
+ ----------------------------------------------------------------------
1381
+ -------------------------------------------------------
1382
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
1383
+ -------------------------------------------------------
1384
+ --------------------------------------------------------------
1385
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
1386
+ --------------------------------------------------------------
1387
+ --------------------------------------------------------------
1388
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
1389
+ --------------------------------------------------------------
1390
+ ---------------------------------------------------------
5
1391
  CouchRestAdapterTest: test_can_not_instantiate_base_class
6
1392
  ---------------------------------------------------------
7
1393
  ---------------------------------------------------------
@@ -22,24 +1408,6 @@ CouchRestAdapterTest: test_update_to_attr=_will_persist
22
1408
  --------------------------------------------------------------
23
1409
  CouchRestAdapterTest: test_will_add_class_underscorename_to_id
24
1410
  --------------------------------------------------------------
25
- --------------------------
26
- LintTest: test_errors_aref
27
- --------------------------
28
- ---------------------------
29
- LintTest: test_model_naming
30
- ---------------------------
31
- -------------------------
32
- LintTest: test_persisted?
33
- -------------------------
34
- ---------------------
35
- LintTest: test_to_key
36
- ---------------------
37
- -----------------------
38
- LintTest: test_to_param
39
- -----------------------
40
- ------------------------------
41
- LintTest: test_to_partial_path
42
- ------------------------------
43
1411
  --------------------------------------------------------------
44
1412
  CouchRestAdapterTest: test_attributes_are_available_as_methods
45
1413
  --------------------------------------------------------------
@@ -190,6 +1558,24 @@ CouchRestAdapterTest: test_update_to_attr=_will_persist
190
1558
  --------------------------------------------------------------
191
1559
  CouchRestAdapterTest: test_will_add_class_underscorename_to_id
192
1560
  --------------------------------------------------------------
1561
+ --------------------------
1562
+ LintTest: test_errors_aref
1563
+ --------------------------
1564
+ ---------------------------
1565
+ LintTest: test_model_naming
1566
+ ---------------------------
1567
+ -------------------------
1568
+ LintTest: test_persisted?
1569
+ -------------------------
1570
+ ---------------------
1571
+ LintTest: test_to_key
1572
+ ---------------------
1573
+ -----------------------
1574
+ LintTest: test_to_param
1575
+ -----------------------
1576
+ ------------------------------
1577
+ LintTest: test_to_partial_path
1578
+ ------------------------------
193
1579
  --------------------------------------------------------------
194
1580
  CouchRestAdapterTest: test_attributes_are_available_as_methods
195
1581
  --------------------------------------------------------------
@@ -406,6 +1792,9 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
406
1792
  ---------------------------------------------------------
407
1793
  CouchRestAdapterTest: test_can_not_instantiate_base_class
408
1794
  ---------------------------------------------------------
1795
+ ---------------------------------------------------------------------------------------------
1796
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
1797
+ ---------------------------------------------------------------------------------------------
409
1798
  ---------------------------------------------------------
410
1799
  CouchRestAdapterTest: test_find_will_work_with_partial_id
411
1800
  ---------------------------------------------------------
@@ -448,6 +1837,9 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
448
1837
  ---------------------------------------------------------
449
1838
  CouchRestAdapterTest: test_can_not_instantiate_base_class
450
1839
  ---------------------------------------------------------
1840
+ ---------------------------------------------------------------------------------------------
1841
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
1842
+ ---------------------------------------------------------------------------------------------
451
1843
  ---------------------------------------------------------
452
1844
  CouchRestAdapterTest: test_find_will_work_with_partial_id
453
1845
  ---------------------------------------------------------
@@ -490,6 +1882,9 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
490
1882
  ---------------------------------------------------------
491
1883
  CouchRestAdapterTest: test_can_not_instantiate_base_class
492
1884
  ---------------------------------------------------------
1885
+ ---------------------------------------------------------------------------------------------
1886
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
1887
+ ---------------------------------------------------------------------------------------------
493
1888
  ---------------------------------------------------------
494
1889
  CouchRestAdapterTest: test_find_will_work_with_partial_id
495
1890
  ---------------------------------------------------------
@@ -532,6 +1927,9 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
532
1927
  ---------------------------------------------------------
533
1928
  CouchRestAdapterTest: test_can_not_instantiate_base_class
534
1929
  ---------------------------------------------------------
1930
+ ---------------------------------------------------------------------------------------------
1931
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
1932
+ ---------------------------------------------------------------------------------------------
535
1933
  ---------------------------------------------------------
536
1934
  CouchRestAdapterTest: test_find_will_work_with_partial_id
537
1935
  ---------------------------------------------------------
@@ -574,6 +1972,9 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
574
1972
  ---------------------------------------------------------
575
1973
  CouchRestAdapterTest: test_can_not_instantiate_base_class
576
1974
  ---------------------------------------------------------
1975
+ ---------------------------------------------------------------------------------------------
1976
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
1977
+ ---------------------------------------------------------------------------------------------
577
1978
  ---------------------------------------------------------
578
1979
  CouchRestAdapterTest: test_find_will_work_with_partial_id
579
1980
  ---------------------------------------------------------
@@ -617,7 +2018,7 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
617
2018
  CouchRestAdapterTest: test_can_not_instantiate_base_class
618
2019
  ---------------------------------------------------------
619
2020
  ---------------------------------------------------------------------------------------------
620
- CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
2021
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
621
2022
  ---------------------------------------------------------------------------------------------
622
2023
  ---------------------------------------------------------
623
2024
  CouchRestAdapterTest: test_find_will_work_with_partial_id
@@ -662,7 +2063,7 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
662
2063
  CouchRestAdapterTest: test_can_not_instantiate_base_class
663
2064
  ---------------------------------------------------------
664
2065
  ---------------------------------------------------------------------------------------------
665
- CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
2066
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
666
2067
  ---------------------------------------------------------------------------------------------
667
2068
  ---------------------------------------------------------
668
2069
  CouchRestAdapterTest: test_find_will_work_with_partial_id
@@ -707,7 +2108,7 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
707
2108
  CouchRestAdapterTest: test_can_not_instantiate_base_class
708
2109
  ---------------------------------------------------------
709
2110
  ---------------------------------------------------------------------------------------------
710
- CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
2111
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
711
2112
  ---------------------------------------------------------------------------------------------
712
2113
  ---------------------------------------------------------
713
2114
  CouchRestAdapterTest: test_find_will_work_with_partial_id
@@ -745,9 +2146,6 @@ LintTest: test_to_param
745
2146
  ------------------------------
746
2147
  LintTest: test_to_partial_path
747
2148
  ------------------------------
748
- -----------------------------------------------------
749
- CouchRestAdapter::AttributeMethodTest: test_something
750
- -----------------------------------------------------
751
2149
  --------------------------------------------------------------
752
2150
  CouchRestAdapterTest: test_attributes_are_available_as_methods
753
2151
  --------------------------------------------------------------
@@ -755,7 +2153,7 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
755
2153
  CouchRestAdapterTest: test_can_not_instantiate_base_class
756
2154
  ---------------------------------------------------------
757
2155
  ---------------------------------------------------------------------------------------------
758
- CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
2156
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
759
2157
  ---------------------------------------------------------------------------------------------
760
2158
  ---------------------------------------------------------
761
2159
  CouchRestAdapterTest: test_find_will_work_with_partial_id
@@ -793,9 +2191,6 @@ LintTest: test_to_param
793
2191
  ------------------------------
794
2192
  LintTest: test_to_partial_path
795
2193
  ------------------------------
796
- ---------------------------------------------------
797
- CouchRestAdapter::AttributeMethodTest: test_base_id
798
- ---------------------------------------------------
799
2194
  --------------------------------------------------------------
800
2195
  CouchRestAdapterTest: test_attributes_are_available_as_methods
801
2196
  --------------------------------------------------------------
@@ -803,7 +2198,7 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
803
2198
  CouchRestAdapterTest: test_can_not_instantiate_base_class
804
2199
  ---------------------------------------------------------
805
2200
  ---------------------------------------------------------------------------------------------
806
- CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
2201
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
807
2202
  ---------------------------------------------------------------------------------------------
808
2203
  ---------------------------------------------------------
809
2204
  CouchRestAdapterTest: test_find_will_work_with_partial_id
@@ -841,12 +2236,6 @@ LintTest: test_to_param
841
2236
  ------------------------------
842
2237
  LintTest: test_to_partial_path
843
2238
  ------------------------------
844
- ---------------------------------------------------
845
- CouchRestAdapter::AttributeMethodTest: test_base_id
846
- ---------------------------------------------------
847
- -----------------------------------------------------------------------------------------------------------
848
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
849
- -----------------------------------------------------------------------------------------------------------
850
2239
  --------------------------------------------------------------
851
2240
  CouchRestAdapterTest: test_attributes_are_available_as_methods
852
2241
  --------------------------------------------------------------
@@ -854,7 +2243,7 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
854
2243
  CouchRestAdapterTest: test_can_not_instantiate_base_class
855
2244
  ---------------------------------------------------------
856
2245
  ---------------------------------------------------------------------------------------------
857
- CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
2246
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
858
2247
  ---------------------------------------------------------------------------------------------
859
2248
  ---------------------------------------------------------
860
2249
  CouchRestAdapterTest: test_find_will_work_with_partial_id
@@ -892,12 +2281,6 @@ LintTest: test_to_param
892
2281
  ------------------------------
893
2282
  LintTest: test_to_partial_path
894
2283
  ------------------------------
895
- ---------------------------------------------------
896
- CouchRestAdapter::AttributeMethodTest: test_base_id
897
- ---------------------------------------------------
898
- -----------------------------------------------------------------------------------------------------------
899
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
900
- -----------------------------------------------------------------------------------------------------------
901
2284
  --------------------------------------------------------------
902
2285
  CouchRestAdapterTest: test_attributes_are_available_as_methods
903
2286
  --------------------------------------------------------------
@@ -905,7 +2288,7 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
905
2288
  CouchRestAdapterTest: test_can_not_instantiate_base_class
906
2289
  ---------------------------------------------------------
907
2290
  ---------------------------------------------------------------------------------------------
908
- CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
2291
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
909
2292
  ---------------------------------------------------------------------------------------------
910
2293
  ---------------------------------------------------------
911
2294
  CouchRestAdapterTest: test_find_will_work_with_partial_id
@@ -943,12 +2326,6 @@ LintTest: test_to_param
943
2326
  ------------------------------
944
2327
  LintTest: test_to_partial_path
945
2328
  ------------------------------
946
- ---------------------------------------------------
947
- CouchRestAdapter::AttributeMethodTest: test_base_id
948
- ---------------------------------------------------
949
- -----------------------------------------------------------------------------------------------------------
950
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
951
- -----------------------------------------------------------------------------------------------------------
952
2329
  --------------------------------------------------------------
953
2330
  CouchRestAdapterTest: test_attributes_are_available_as_methods
954
2331
  --------------------------------------------------------------
@@ -956,7 +2333,7 @@ CouchRestAdapterTest: test_attributes_are_available_as_methods
956
2333
  CouchRestAdapterTest: test_can_not_instantiate_base_class
957
2334
  ---------------------------------------------------------
958
2335
  ---------------------------------------------------------------------------------------------
959
- CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
2336
+ CouchRestAdapterTest: test_find_by_type_will_return_array_of_docs_with_type_set_to_model_name
960
2337
  ---------------------------------------------------------------------------------------------
961
2338
  ---------------------------------------------------------
962
2339
  CouchRestAdapterTest: test_find_will_work_with_partial_id
@@ -994,12 +2371,6 @@ LintTest: test_to_param
994
2371
  ------------------------------
995
2372
  LintTest: test_to_partial_path
996
2373
  ------------------------------
997
- ---------------------------------------------------
998
- CouchRestAdapter::AttributeMethodTest: test_base_id
999
- ---------------------------------------------------
1000
- -----------------------------------------------------------------------------------------------------------
1001
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
1002
- -----------------------------------------------------------------------------------------------------------
1003
2374
  --------------------------------------------------------------
1004
2375
  CouchRestAdapterTest: test_attributes_are_available_as_methods
1005
2376
  --------------------------------------------------------------
@@ -1045,21 +2416,6 @@ LintTest: test_to_param
1045
2416
  ------------------------------
1046
2417
  LintTest: test_to_partial_path
1047
2418
  ------------------------------
1048
- ---------------------------------------------------
1049
- CouchRestAdapter::AttributeMethodTest: test_base_id
1050
- ---------------------------------------------------
1051
- ---------------------------------------------------------------------------------------------------
1052
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
1053
- ---------------------------------------------------------------------------------------------------
1054
- ---------------------------------------------------------------------------------------------
1055
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
1056
- ---------------------------------------------------------------------------------------------
1057
- -----------------------------------------------------------------------------------------------------------
1058
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
1059
- -----------------------------------------------------------------------------------------------------------
1060
- -------------------------------------------------------------------------------
1061
- CouchRestAdapter::DocumentManagementTest: test_set_id_by_default_returns_a_uuid
1062
- -------------------------------------------------------------------------------
1063
2419
  --------------------------------------------------------------
1064
2420
  CouchRestAdapterTest: test_attributes_are_available_as_methods
1065
2421
  --------------------------------------------------------------
@@ -1105,21 +2461,6 @@ LintTest: test_to_param
1105
2461
  ------------------------------
1106
2462
  LintTest: test_to_partial_path
1107
2463
  ------------------------------
1108
- ---------------------------------------------------
1109
- CouchRestAdapter::AttributeMethodTest: test_base_id
1110
- ---------------------------------------------------
1111
- ---------------------------------------------------------------------------------------------------
1112
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
1113
- ---------------------------------------------------------------------------------------------------
1114
- ---------------------------------------------------------------------------------------------
1115
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
1116
- ---------------------------------------------------------------------------------------------
1117
- -----------------------------------------------------------------------------------------------------------
1118
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
1119
- -----------------------------------------------------------------------------------------------------------
1120
- -------------------------------------------------------------------------------
1121
- CouchRestAdapter::DocumentManagementTest: test_set_id_by_default_returns_a_uuid
1122
- -------------------------------------------------------------------------------
1123
2464
  --------------------------------------------------------------
1124
2465
  CouchRestAdapterTest: test_attributes_are_available_as_methods
1125
2466
  --------------------------------------------------------------
@@ -1165,21 +2506,6 @@ LintTest: test_to_param
1165
2506
  ------------------------------
1166
2507
  LintTest: test_to_partial_path
1167
2508
  ------------------------------
1168
- ---------------------------------------------------
1169
- CouchRestAdapter::AttributeMethodTest: test_base_id
1170
- ---------------------------------------------------
1171
- ---------------------------------------------------------------------------------------------------
1172
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
1173
- ---------------------------------------------------------------------------------------------------
1174
- ---------------------------------------------------------------------------------------------
1175
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
1176
- ---------------------------------------------------------------------------------------------
1177
- -----------------------------------------------------------------------------------------------------------
1178
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
1179
- -----------------------------------------------------------------------------------------------------------
1180
- -------------------------------------------------------------------------------
1181
- CouchRestAdapter::DocumentManagementTest: test_set_id_by_default_returns_a_uuid
1182
- -------------------------------------------------------------------------------
1183
2509
  --------------------------------------------------------------
1184
2510
  CouchRestAdapterTest: test_attributes_are_available_as_methods
1185
2511
  --------------------------------------------------------------
@@ -1225,18 +2551,6 @@ LintTest: test_to_param
1225
2551
  ------------------------------
1226
2552
  LintTest: test_to_partial_path
1227
2553
  ------------------------------
1228
- ---------------------------------------------------
1229
- CouchRestAdapter::AttributeMethodTest: test_base_id
1230
- ---------------------------------------------------
1231
- ---------------------------------------------------------------------------------------------------
1232
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
1233
- ---------------------------------------------------------------------------------------------------
1234
- ---------------------------------------------------------------------------------------------
1235
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
1236
- ---------------------------------------------------------------------------------------------
1237
- -----------------------------------------------------------------------------------------------------------
1238
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
1239
- -----------------------------------------------------------------------------------------------------------
1240
2554
  --------------------------------------------------------------
1241
2555
  CouchRestAdapterTest: test_attributes_are_available_as_methods
1242
2556
  --------------------------------------------------------------
@@ -1282,21 +2596,6 @@ LintTest: test_to_param
1282
2596
  ------------------------------
1283
2597
  LintTest: test_to_partial_path
1284
2598
  ------------------------------
1285
- ---------------------------------------------------
1286
- CouchRestAdapter::AttributeMethodTest: test_base_id
1287
- ---------------------------------------------------
1288
- -----------------------------------------------------------------------------------------------------------------------
1289
- CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
1290
- -----------------------------------------------------------------------------------------------------------------------
1291
- ---------------------------------------------------------------------------------------------------
1292
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
1293
- ---------------------------------------------------------------------------------------------------
1294
- ---------------------------------------------------------------------------------------------
1295
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
1296
- ---------------------------------------------------------------------------------------------
1297
- -----------------------------------------------------------------------------------------------------------
1298
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
1299
- -----------------------------------------------------------------------------------------------------------
1300
2599
  --------------------------------------------------------------
1301
2600
  CouchRestAdapterTest: test_attributes_are_available_as_methods
1302
2601
  --------------------------------------------------------------
@@ -1342,21 +2641,6 @@ LintTest: test_to_param
1342
2641
  ------------------------------
1343
2642
  LintTest: test_to_partial_path
1344
2643
  ------------------------------
1345
- ---------------------------------------------------
1346
- CouchRestAdapter::AttributeMethodTest: test_base_id
1347
- ---------------------------------------------------
1348
- -----------------------------------------------------------------------------------------------------------------------
1349
- CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
1350
- -----------------------------------------------------------------------------------------------------------------------
1351
- ---------------------------------------------------------------------------------------------------
1352
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
1353
- ---------------------------------------------------------------------------------------------------
1354
- ---------------------------------------------------------------------------------------------
1355
- CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
1356
- ---------------------------------------------------------------------------------------------
1357
- -----------------------------------------------------------------------------------------------------------
1358
- CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
1359
- -----------------------------------------------------------------------------------------------------------
1360
2644
  --------------------------------------------------------------
1361
2645
  CouchRestAdapterTest: test_attributes_are_available_as_methods
1362
2646
  --------------------------------------------------------------