couch_rest_adapter 0.6.0 → 0.7.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: 8a14243b3a620237550b3d1c3db648e6b52630d8
4
- data.tar.gz: 0236bb4d38bac7ebd3ef5a61fee634d888b420b2
3
+ metadata.gz: 0388de40c353d79813be65d58ed05c9270c0d6e0
4
+ data.tar.gz: fd9cdbbfa61f284bbce98a95a0b3926cb1e6a314
5
5
  SHA512:
6
- metadata.gz: fc9991166fc69049fed979fdd10fc7b85697427d4210d7bef6d8775ee1e10941bec7291de94d76c58ca8cbe34f1dc3110309feb9aee34bc2717afec41d47b97b
7
- data.tar.gz: 159eb4c9ee2cde712b32c2a5de13c72c01cb154c5805317fc2e19d18b26c0fd50efe3c91cbf42018faf3a0d86287dbb7528bcfe2297f09d145d800107fc0096c
6
+ metadata.gz: 0767188333a9655edd1cf69d1144b01b8f0883ca8e82ca3fa48fca7619a4746950278d0e10e15bafc59e2bb38486878ca63b2c9d7659ab0be602b1e06ff5d8c6
7
+ data.tar.gz: 38c4e294e2d64ec80018a79cc4bb3bcb1e3ebdc26a04ed46b30e8b7583f425163de94f491aab213ba30346ab4e5766fa430ae806fe8e25a9ec242a83d151284f
@@ -70,6 +70,8 @@ module CouchRestAdapter
70
70
  def method_missing method, *args, &block
71
71
  if attribute_methods.include? method.to_s
72
72
  read_write method, args.first
73
+ elsif method.to_s =~ /^(.+)=$/
74
+ read_write method, args.first
73
75
  else
74
76
  super
75
77
  end
@@ -1,3 +1,3 @@
1
1
  module CouchRestAdapter
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
@@ -65,6 +65,11 @@ class CouchRestAdapterTest < ActiveSupport::TestCase
65
65
  assert_equal 'Foo', @foo.foo
66
66
  end
67
67
 
68
+ test 'attributes can be set dynamically' do
69
+ assert @foo.other = 'other'
70
+ assert_equal 'other', @foo['other']
71
+ end
72
+
68
73
  test 'one can update existing attributes' do
69
74
  @foo.foo = 'more'
70
75
  assert_equal 'more', @foo[:foo]
@@ -4576,3 +4576,2334 @@ LintTest: test_to_param
4576
4576
  ------------------------------
4577
4577
  LintTest: test_to_partial_path
4578
4578
  ------------------------------
4579
+ ---------------------------------------------------
4580
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4581
+ ---------------------------------------------------
4582
+ -----------------------------------------------------------------------------------------------------------------------
4583
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4584
+ -----------------------------------------------------------------------------------------------------------------------
4585
+ ---------------------------------------------------------------------------------------------------
4586
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4587
+ ---------------------------------------------------------------------------------------------------
4588
+ ---------------------------------------------------------------------------------------------
4589
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4590
+ ---------------------------------------------------------------------------------------------
4591
+ -----------------------------------------------------------------------------------------------------------
4592
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4593
+ -----------------------------------------------------------------------------------------------------------
4594
+ --------------------------------------------------------------
4595
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4596
+ --------------------------------------------------------------
4597
+ ---------------------------------------------------------
4598
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4599
+ ---------------------------------------------------------
4600
+ ---------------------------------------------------------------------------------------------
4601
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4602
+ ---------------------------------------------------------------------------------------------
4603
+ ---------------------------------------------------------
4604
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4605
+ ---------------------------------------------------------
4606
+ -------------------------------------------------------------
4607
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4608
+ -------------------------------------------------------------
4609
+ --------------------------------------------------------------------------------------------------
4610
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4611
+ --------------------------------------------------------------------------------------------------
4612
+ ----------------------------------------------------------------------
4613
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4614
+ ----------------------------------------------------------------------
4615
+ ------------------------------------------------------------
4616
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
4617
+ ------------------------------------------------------------
4618
+ -------------------------------------------------------
4619
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4620
+ -------------------------------------------------------
4621
+ --------------------------------------------------------------
4622
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
4623
+ --------------------------------------------------------------
4624
+ --------------------------
4625
+ LintTest: test_errors_aref
4626
+ --------------------------
4627
+ ---------------------------
4628
+ LintTest: test_model_naming
4629
+ ---------------------------
4630
+ -------------------------
4631
+ LintTest: test_persisted?
4632
+ -------------------------
4633
+ ---------------------
4634
+ LintTest: test_to_key
4635
+ ---------------------
4636
+ -----------------------
4637
+ LintTest: test_to_param
4638
+ -----------------------
4639
+ ------------------------------
4640
+ LintTest: test_to_partial_path
4641
+ ------------------------------
4642
+ ---------------------------------------------------
4643
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4644
+ ---------------------------------------------------
4645
+ -----------------------------------------------------------------------------------------------------------------------
4646
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4647
+ -----------------------------------------------------------------------------------------------------------------------
4648
+ ---------------------------------------------------------------------------------------------------
4649
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4650
+ ---------------------------------------------------------------------------------------------------
4651
+ ---------------------------------------------------------------------------------------------
4652
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4653
+ ---------------------------------------------------------------------------------------------
4654
+ -----------------------------------------------------------------------------------------------------------
4655
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4656
+ -----------------------------------------------------------------------------------------------------------
4657
+ --------------------------------------------------------------
4658
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4659
+ --------------------------------------------------------------
4660
+ ---------------------------------------------------------
4661
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4662
+ ---------------------------------------------------------
4663
+ ---------------------------------------------------------------------------------------------
4664
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4665
+ ---------------------------------------------------------------------------------------------
4666
+ ---------------------------------------------------------
4667
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4668
+ ---------------------------------------------------------
4669
+ -------------------------------------------------------------
4670
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4671
+ -------------------------------------------------------------
4672
+ --------------------------------------------------------------------------------------------------
4673
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4674
+ --------------------------------------------------------------------------------------------------
4675
+ ----------------------------------------------------------------------
4676
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4677
+ ----------------------------------------------------------------------
4678
+ ------------------------------------------------------------
4679
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
4680
+ ------------------------------------------------------------
4681
+ -------------------------------------------------------
4682
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4683
+ -------------------------------------------------------
4684
+ --------------------------------------------------------------
4685
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
4686
+ --------------------------------------------------------------
4687
+ --------------------------
4688
+ LintTest: test_errors_aref
4689
+ --------------------------
4690
+ ---------------------------
4691
+ LintTest: test_model_naming
4692
+ ---------------------------
4693
+ -------------------------
4694
+ LintTest: test_persisted?
4695
+ -------------------------
4696
+ ---------------------
4697
+ LintTest: test_to_key
4698
+ ---------------------
4699
+ -----------------------
4700
+ LintTest: test_to_param
4701
+ -----------------------
4702
+ ------------------------------
4703
+ LintTest: test_to_partial_path
4704
+ ------------------------------
4705
+ ---------------------------------------------------
4706
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4707
+ ---------------------------------------------------
4708
+ -----------------------------------------------------------------------------------------------------------------------
4709
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4710
+ -----------------------------------------------------------------------------------------------------------------------
4711
+ ---------------------------------------------------------------------------------------------------
4712
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4713
+ ---------------------------------------------------------------------------------------------------
4714
+ ---------------------------------------------------------------------------------------------
4715
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4716
+ ---------------------------------------------------------------------------------------------
4717
+ -----------------------------------------------------------------------------------------------------------
4718
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4719
+ -----------------------------------------------------------------------------------------------------------
4720
+ --------------------------------------------------------------
4721
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4722
+ --------------------------------------------------------------
4723
+ ---------------------------------------------------------
4724
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4725
+ ---------------------------------------------------------
4726
+ ---------------------------------------------------------------------------------------------
4727
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4728
+ ---------------------------------------------------------------------------------------------
4729
+ ---------------------------------------------------------
4730
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4731
+ ---------------------------------------------------------
4732
+ -------------------------------------------------------------
4733
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4734
+ -------------------------------------------------------------
4735
+ --------------------------------------------------------------------------------------------------
4736
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4737
+ --------------------------------------------------------------------------------------------------
4738
+ ----------------------------------------------------------------------
4739
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4740
+ ----------------------------------------------------------------------
4741
+ ------------------------------------------------------------
4742
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
4743
+ ------------------------------------------------------------
4744
+ -------------------------------------------------------
4745
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4746
+ -------------------------------------------------------
4747
+ --------------------------------------------------------------
4748
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
4749
+ --------------------------------------------------------------
4750
+ --------------------------
4751
+ LintTest: test_errors_aref
4752
+ --------------------------
4753
+ ---------------------------
4754
+ LintTest: test_model_naming
4755
+ ---------------------------
4756
+ -------------------------
4757
+ LintTest: test_persisted?
4758
+ -------------------------
4759
+ ---------------------
4760
+ LintTest: test_to_key
4761
+ ---------------------
4762
+ -----------------------
4763
+ LintTest: test_to_param
4764
+ -----------------------
4765
+ ------------------------------
4766
+ LintTest: test_to_partial_path
4767
+ ------------------------------
4768
+ ---------------------------------------------------
4769
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4770
+ ---------------------------------------------------
4771
+ -----------------------------------------------------------------------------------------------------------------------
4772
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4773
+ -----------------------------------------------------------------------------------------------------------------------
4774
+ ---------------------------------------------------------------------------------------------------
4775
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4776
+ ---------------------------------------------------------------------------------------------------
4777
+ ---------------------------------------------------------------------------------------------
4778
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4779
+ ---------------------------------------------------------------------------------------------
4780
+ -----------------------------------------------------------------------------------------------------------
4781
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4782
+ -----------------------------------------------------------------------------------------------------------
4783
+ --------------------------------------------------------------
4784
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4785
+ --------------------------------------------------------------
4786
+ ---------------------------------------------------------
4787
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4788
+ ---------------------------------------------------------
4789
+ ---------------------------------------------------------------------------------------------
4790
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4791
+ ---------------------------------------------------------------------------------------------
4792
+ ---------------------------------------------------------
4793
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4794
+ ---------------------------------------------------------
4795
+ -------------------------------------------------------------
4796
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4797
+ -------------------------------------------------------------
4798
+ --------------------------------------------------------------------------------------------------
4799
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4800
+ --------------------------------------------------------------------------------------------------
4801
+ ----------------------------------------------------------------------
4802
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4803
+ ----------------------------------------------------------------------
4804
+ ------------------------------------------------------------
4805
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
4806
+ ------------------------------------------------------------
4807
+ -------------------------------------------------------
4808
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4809
+ -------------------------------------------------------
4810
+ --------------------------------------------------------------
4811
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
4812
+ --------------------------------------------------------------
4813
+ --------------------------
4814
+ LintTest: test_errors_aref
4815
+ --------------------------
4816
+ ---------------------------
4817
+ LintTest: test_model_naming
4818
+ ---------------------------
4819
+ -------------------------
4820
+ LintTest: test_persisted?
4821
+ -------------------------
4822
+ ---------------------
4823
+ LintTest: test_to_key
4824
+ ---------------------
4825
+ -----------------------
4826
+ LintTest: test_to_param
4827
+ -----------------------
4828
+ ------------------------------
4829
+ LintTest: test_to_partial_path
4830
+ ------------------------------
4831
+ ---------------------------------------------------
4832
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4833
+ ---------------------------------------------------
4834
+ -----------------------------------------------------------------------------------------------------------------------
4835
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4836
+ -----------------------------------------------------------------------------------------------------------------------
4837
+ ---------------------------------------------------------------------------------------------------
4838
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4839
+ ---------------------------------------------------------------------------------------------------
4840
+ ---------------------------------------------------------------------------------------------
4841
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4842
+ ---------------------------------------------------------------------------------------------
4843
+ -----------------------------------------------------------------------------------------------------------
4844
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4845
+ -----------------------------------------------------------------------------------------------------------
4846
+ --------------------------------------------------------------
4847
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4848
+ --------------------------------------------------------------
4849
+ ---------------------------------------------------------
4850
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4851
+ ---------------------------------------------------------
4852
+ ---------------------------------------------------------------------------------------------
4853
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4854
+ ---------------------------------------------------------------------------------------------
4855
+ ---------------------------------------------------------
4856
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4857
+ ---------------------------------------------------------
4858
+ -------------------------------------------------------------
4859
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4860
+ -------------------------------------------------------------
4861
+ --------------------------------------------------------------------------------------------------
4862
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4863
+ --------------------------------------------------------------------------------------------------
4864
+ ----------------------------------------------------------------------
4865
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4866
+ ----------------------------------------------------------------------
4867
+ ------------------------------------------------------------
4868
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
4869
+ ------------------------------------------------------------
4870
+ -------------------------------------------------------
4871
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4872
+ -------------------------------------------------------
4873
+ --------------------------------------------------------------
4874
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
4875
+ --------------------------------------------------------------
4876
+ --------------------------
4877
+ LintTest: test_errors_aref
4878
+ --------------------------
4879
+ ---------------------------
4880
+ LintTest: test_model_naming
4881
+ ---------------------------
4882
+ -------------------------
4883
+ LintTest: test_persisted?
4884
+ -------------------------
4885
+ ---------------------
4886
+ LintTest: test_to_key
4887
+ ---------------------
4888
+ -----------------------
4889
+ LintTest: test_to_param
4890
+ -----------------------
4891
+ ------------------------------
4892
+ LintTest: test_to_partial_path
4893
+ ------------------------------
4894
+ ---------------------------------------------------
4895
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4896
+ ---------------------------------------------------
4897
+ -----------------------------------------------------------------------------------------------------------------------
4898
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4899
+ -----------------------------------------------------------------------------------------------------------------------
4900
+ ---------------------------------------------------------------------------------------------------
4901
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4902
+ ---------------------------------------------------------------------------------------------------
4903
+ ---------------------------------------------------------------------------------------------
4904
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4905
+ ---------------------------------------------------------------------------------------------
4906
+ -----------------------------------------------------------------------------------------------------------
4907
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4908
+ -----------------------------------------------------------------------------------------------------------
4909
+ --------------------------------------------------------------
4910
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4911
+ --------------------------------------------------------------
4912
+ ---------------------------------------------------------
4913
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4914
+ ---------------------------------------------------------
4915
+ ---------------------------------------------------------------------------------------------
4916
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4917
+ ---------------------------------------------------------------------------------------------
4918
+ ---------------------------------------------------------
4919
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4920
+ ---------------------------------------------------------
4921
+ -------------------------------------------------------------
4922
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4923
+ -------------------------------------------------------------
4924
+ --------------------------------------------------------------------------------------------------
4925
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4926
+ --------------------------------------------------------------------------------------------------
4927
+ ----------------------------------------------------------------------
4928
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4929
+ ----------------------------------------------------------------------
4930
+ ------------------------------------------------------------
4931
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
4932
+ ------------------------------------------------------------
4933
+ -------------------------------------------------------
4934
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4935
+ -------------------------------------------------------
4936
+ --------------------------------------------------------------
4937
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
4938
+ --------------------------------------------------------------
4939
+ --------------------------
4940
+ LintTest: test_errors_aref
4941
+ --------------------------
4942
+ ---------------------------
4943
+ LintTest: test_model_naming
4944
+ ---------------------------
4945
+ -------------------------
4946
+ LintTest: test_persisted?
4947
+ -------------------------
4948
+ ---------------------
4949
+ LintTest: test_to_key
4950
+ ---------------------
4951
+ -----------------------
4952
+ LintTest: test_to_param
4953
+ -----------------------
4954
+ ------------------------------
4955
+ LintTest: test_to_partial_path
4956
+ ------------------------------
4957
+ ---------------------------------------------------
4958
+ CouchRestAdapter::AttributeMethodTest: test_base_id
4959
+ ---------------------------------------------------
4960
+ -----------------------------------------------------------------------------------------------------------------------
4961
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
4962
+ -----------------------------------------------------------------------------------------------------------------------
4963
+ ---------------------------------------------------------------------------------------------------
4964
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
4965
+ ---------------------------------------------------------------------------------------------------
4966
+ ---------------------------------------------------------------------------------------------
4967
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
4968
+ ---------------------------------------------------------------------------------------------
4969
+ -----------------------------------------------------------------------------------------------------------
4970
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
4971
+ -----------------------------------------------------------------------------------------------------------
4972
+ --------------------------------------------------------------
4973
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
4974
+ --------------------------------------------------------------
4975
+ ---------------------------------------------------------
4976
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
4977
+ ---------------------------------------------------------
4978
+ ---------------------------------------------------------------------------------------------
4979
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
4980
+ ---------------------------------------------------------------------------------------------
4981
+ ---------------------------------------------------------
4982
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
4983
+ ---------------------------------------------------------
4984
+ -------------------------------------------------------------
4985
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
4986
+ -------------------------------------------------------------
4987
+ --------------------------------------------------------------------------------------------------
4988
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
4989
+ --------------------------------------------------------------------------------------------------
4990
+ ----------------------------------------------------------------------
4991
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
4992
+ ----------------------------------------------------------------------
4993
+ ------------------------------------------------------------
4994
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
4995
+ ------------------------------------------------------------
4996
+ -------------------------------------------------------
4997
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
4998
+ -------------------------------------------------------
4999
+ --------------------------------------------------------------
5000
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5001
+ --------------------------------------------------------------
5002
+ --------------------------
5003
+ LintTest: test_errors_aref
5004
+ --------------------------
5005
+ ---------------------------
5006
+ LintTest: test_model_naming
5007
+ ---------------------------
5008
+ -------------------------
5009
+ LintTest: test_persisted?
5010
+ -------------------------
5011
+ ---------------------
5012
+ LintTest: test_to_key
5013
+ ---------------------
5014
+ -----------------------
5015
+ LintTest: test_to_param
5016
+ -----------------------
5017
+ ------------------------------
5018
+ LintTest: test_to_partial_path
5019
+ ------------------------------
5020
+ ---------------------------------------------------
5021
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5022
+ ---------------------------------------------------
5023
+ -----------------------------------------------------------------------------------------------------------------------
5024
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5025
+ -----------------------------------------------------------------------------------------------------------------------
5026
+ ---------------------------------------------------------------------------------------------------
5027
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5028
+ ---------------------------------------------------------------------------------------------------
5029
+ ---------------------------------------------------------------------------------------------
5030
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5031
+ ---------------------------------------------------------------------------------------------
5032
+ -----------------------------------------------------------------------------------------------------------
5033
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5034
+ -----------------------------------------------------------------------------------------------------------
5035
+ --------------------------------------------------------------
5036
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5037
+ --------------------------------------------------------------
5038
+ ---------------------------------------------------------
5039
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5040
+ ---------------------------------------------------------
5041
+ ---------------------------------------------------------------------------------------------
5042
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5043
+ ---------------------------------------------------------------------------------------------
5044
+ ---------------------------------------------------------
5045
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5046
+ ---------------------------------------------------------
5047
+ -------------------------------------------------------------
5048
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5049
+ -------------------------------------------------------------
5050
+ --------------------------------------------------------------------------------------------------
5051
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5052
+ --------------------------------------------------------------------------------------------------
5053
+ ----------------------------------------------------------------------
5054
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5055
+ ----------------------------------------------------------------------
5056
+ ------------------------------------------------------------
5057
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5058
+ ------------------------------------------------------------
5059
+ -------------------------------------------------------
5060
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5061
+ -------------------------------------------------------
5062
+ --------------------------------------------------------------
5063
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5064
+ --------------------------------------------------------------
5065
+ --------------------------
5066
+ LintTest: test_errors_aref
5067
+ --------------------------
5068
+ ---------------------------
5069
+ LintTest: test_model_naming
5070
+ ---------------------------
5071
+ -------------------------
5072
+ LintTest: test_persisted?
5073
+ -------------------------
5074
+ ---------------------
5075
+ LintTest: test_to_key
5076
+ ---------------------
5077
+ -----------------------
5078
+ LintTest: test_to_param
5079
+ -----------------------
5080
+ ------------------------------
5081
+ LintTest: test_to_partial_path
5082
+ ------------------------------
5083
+ ---------------------------------------------------
5084
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5085
+ ---------------------------------------------------
5086
+ -----------------------------------------------------------------------------------------------------------------------
5087
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5088
+ -----------------------------------------------------------------------------------------------------------------------
5089
+ ---------------------------------------------------------------------------------------------------
5090
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5091
+ ---------------------------------------------------------------------------------------------------
5092
+ ---------------------------------------------------------------------------------------------
5093
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5094
+ ---------------------------------------------------------------------------------------------
5095
+ -----------------------------------------------------------------------------------------------------------
5096
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5097
+ -----------------------------------------------------------------------------------------------------------
5098
+ --------------------------------------------------------------
5099
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5100
+ --------------------------------------------------------------
5101
+ ---------------------------------------------------------
5102
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5103
+ ---------------------------------------------------------
5104
+ ---------------------------------------------------------------------------------------------
5105
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5106
+ ---------------------------------------------------------------------------------------------
5107
+ ---------------------------------------------------------
5108
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5109
+ ---------------------------------------------------------
5110
+ -------------------------------------------------------------
5111
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5112
+ -------------------------------------------------------------
5113
+ --------------------------------------------------------------------------------------------------
5114
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5115
+ --------------------------------------------------------------------------------------------------
5116
+ ----------------------------------------------------------------------
5117
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5118
+ ----------------------------------------------------------------------
5119
+ ------------------------------------------------------------
5120
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5121
+ ------------------------------------------------------------
5122
+ -------------------------------------------------------
5123
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5124
+ -------------------------------------------------------
5125
+ --------------------------------------------------------------
5126
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5127
+ --------------------------------------------------------------
5128
+ --------------------------
5129
+ LintTest: test_errors_aref
5130
+ --------------------------
5131
+ ---------------------------
5132
+ LintTest: test_model_naming
5133
+ ---------------------------
5134
+ -------------------------
5135
+ LintTest: test_persisted?
5136
+ -------------------------
5137
+ ---------------------
5138
+ LintTest: test_to_key
5139
+ ---------------------
5140
+ -----------------------
5141
+ LintTest: test_to_param
5142
+ -----------------------
5143
+ ------------------------------
5144
+ LintTest: test_to_partial_path
5145
+ ------------------------------
5146
+ ---------------------------------------------------
5147
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5148
+ ---------------------------------------------------
5149
+ -----------------------------------------------------------------------------------------------------------------------
5150
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5151
+ -----------------------------------------------------------------------------------------------------------------------
5152
+ ---------------------------------------------------------------------------------------------------
5153
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5154
+ ---------------------------------------------------------------------------------------------------
5155
+ ---------------------------------------------------------------------------------------------
5156
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5157
+ ---------------------------------------------------------------------------------------------
5158
+ -----------------------------------------------------------------------------------------------------------
5159
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5160
+ -----------------------------------------------------------------------------------------------------------
5161
+ --------------------------------------------------------------
5162
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5163
+ --------------------------------------------------------------
5164
+ ---------------------------------------------------------
5165
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5166
+ ---------------------------------------------------------
5167
+ ---------------------------------------------------------------------------------------------
5168
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5169
+ ---------------------------------------------------------------------------------------------
5170
+ ---------------------------------------------------------
5171
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5172
+ ---------------------------------------------------------
5173
+ -------------------------------------------------------------
5174
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5175
+ -------------------------------------------------------------
5176
+ --------------------------------------------------------------------------------------------------
5177
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5178
+ --------------------------------------------------------------------------------------------------
5179
+ ----------------------------------------------------------------------
5180
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5181
+ ----------------------------------------------------------------------
5182
+ ------------------------------------------------------------
5183
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5184
+ ------------------------------------------------------------
5185
+ -------------------------------------------------------
5186
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5187
+ -------------------------------------------------------
5188
+ --------------------------------------------------------------
5189
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5190
+ --------------------------------------------------------------
5191
+ --------------------------
5192
+ LintTest: test_errors_aref
5193
+ --------------------------
5194
+ ---------------------------
5195
+ LintTest: test_model_naming
5196
+ ---------------------------
5197
+ -------------------------
5198
+ LintTest: test_persisted?
5199
+ -------------------------
5200
+ ---------------------
5201
+ LintTest: test_to_key
5202
+ ---------------------
5203
+ -----------------------
5204
+ LintTest: test_to_param
5205
+ -----------------------
5206
+ ------------------------------
5207
+ LintTest: test_to_partial_path
5208
+ ------------------------------
5209
+ ---------------------------------------------------
5210
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5211
+ ---------------------------------------------------
5212
+ -----------------------------------------------------------------------------------------------------------------------
5213
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5214
+ -----------------------------------------------------------------------------------------------------------------------
5215
+ ---------------------------------------------------------------------------------------------------
5216
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5217
+ ---------------------------------------------------------------------------------------------------
5218
+ ---------------------------------------------------------------------------------------------
5219
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5220
+ ---------------------------------------------------------------------------------------------
5221
+ -----------------------------------------------------------------------------------------------------------
5222
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5223
+ -----------------------------------------------------------------------------------------------------------
5224
+ --------------------------------------------------------------
5225
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5226
+ --------------------------------------------------------------
5227
+ ---------------------------------------------------------
5228
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5229
+ ---------------------------------------------------------
5230
+ ---------------------------------------------------------------------------------------------
5231
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5232
+ ---------------------------------------------------------------------------------------------
5233
+ ---------------------------------------------------------
5234
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5235
+ ---------------------------------------------------------
5236
+ -------------------------------------------------------------
5237
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5238
+ -------------------------------------------------------------
5239
+ --------------------------------------------------------------------------------------------------
5240
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5241
+ --------------------------------------------------------------------------------------------------
5242
+ ----------------------------------------------------------------------
5243
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5244
+ ----------------------------------------------------------------------
5245
+ ------------------------------------------------------------
5246
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5247
+ ------------------------------------------------------------
5248
+ -------------------------------------------------------
5249
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5250
+ -------------------------------------------------------
5251
+ --------------------------------------------------------------
5252
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5253
+ --------------------------------------------------------------
5254
+ --------------------------
5255
+ LintTest: test_errors_aref
5256
+ --------------------------
5257
+ ---------------------------
5258
+ LintTest: test_model_naming
5259
+ ---------------------------
5260
+ -------------------------
5261
+ LintTest: test_persisted?
5262
+ -------------------------
5263
+ ---------------------
5264
+ LintTest: test_to_key
5265
+ ---------------------
5266
+ -----------------------
5267
+ LintTest: test_to_param
5268
+ -----------------------
5269
+ ------------------------------
5270
+ LintTest: test_to_partial_path
5271
+ ------------------------------
5272
+ ---------------------------------------------------
5273
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5274
+ ---------------------------------------------------
5275
+ -----------------------------------------------------------------------------------------------------------------------
5276
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5277
+ -----------------------------------------------------------------------------------------------------------------------
5278
+ ---------------------------------------------------------------------------------------------------
5279
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5280
+ ---------------------------------------------------------------------------------------------------
5281
+ ---------------------------------------------------------------------------------------------
5282
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5283
+ ---------------------------------------------------------------------------------------------
5284
+ -----------------------------------------------------------------------------------------------------------
5285
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5286
+ -----------------------------------------------------------------------------------------------------------
5287
+ --------------------------------------------------------------
5288
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5289
+ --------------------------------------------------------------
5290
+ ---------------------------------------------------------
5291
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5292
+ ---------------------------------------------------------
5293
+ ---------------------------------------------------------------------------------------------
5294
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5295
+ ---------------------------------------------------------------------------------------------
5296
+ ---------------------------------------------------------
5297
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5298
+ ---------------------------------------------------------
5299
+ -------------------------------------------------------------
5300
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5301
+ -------------------------------------------------------------
5302
+ --------------------------------------------------------------------------------------------------
5303
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5304
+ --------------------------------------------------------------------------------------------------
5305
+ ----------------------------------------------------------------------
5306
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5307
+ ----------------------------------------------------------------------
5308
+ ------------------------------------------------------------
5309
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5310
+ ------------------------------------------------------------
5311
+ -------------------------------------------------------
5312
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5313
+ -------------------------------------------------------
5314
+ --------------------------------------------------------------
5315
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5316
+ --------------------------------------------------------------
5317
+ --------------------------
5318
+ LintTest: test_errors_aref
5319
+ --------------------------
5320
+ ---------------------------
5321
+ LintTest: test_model_naming
5322
+ ---------------------------
5323
+ -------------------------
5324
+ LintTest: test_persisted?
5325
+ -------------------------
5326
+ ---------------------
5327
+ LintTest: test_to_key
5328
+ ---------------------
5329
+ -----------------------
5330
+ LintTest: test_to_param
5331
+ -----------------------
5332
+ ------------------------------
5333
+ LintTest: test_to_partial_path
5334
+ ------------------------------
5335
+ ---------------------------------------------------
5336
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5337
+ ---------------------------------------------------
5338
+ -----------------------------------------------------------------------------------------------------------------------
5339
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5340
+ -----------------------------------------------------------------------------------------------------------------------
5341
+ ---------------------------------------------------------------------------------------------------
5342
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5343
+ ---------------------------------------------------------------------------------------------------
5344
+ ---------------------------------------------------------------------------------------------
5345
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5346
+ ---------------------------------------------------------------------------------------------
5347
+ -----------------------------------------------------------------------------------------------------------
5348
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5349
+ -----------------------------------------------------------------------------------------------------------
5350
+ --------------------------------------------------------------
5351
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5352
+ --------------------------------------------------------------
5353
+ ---------------------------------------------------------
5354
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5355
+ ---------------------------------------------------------
5356
+ ---------------------------------------------------------------------------------------------
5357
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5358
+ ---------------------------------------------------------------------------------------------
5359
+ ---------------------------------------------------------
5360
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5361
+ ---------------------------------------------------------
5362
+ -------------------------------------------------------------
5363
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5364
+ -------------------------------------------------------------
5365
+ --------------------------------------------------------------------------------------------------
5366
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5367
+ --------------------------------------------------------------------------------------------------
5368
+ ----------------------------------------------------------------------
5369
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5370
+ ----------------------------------------------------------------------
5371
+ ------------------------------------------------------------
5372
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5373
+ ------------------------------------------------------------
5374
+ -------------------------------------------------------
5375
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5376
+ -------------------------------------------------------
5377
+ --------------------------------------------------------------
5378
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5379
+ --------------------------------------------------------------
5380
+ --------------------------
5381
+ LintTest: test_errors_aref
5382
+ --------------------------
5383
+ ---------------------------
5384
+ LintTest: test_model_naming
5385
+ ---------------------------
5386
+ -------------------------
5387
+ LintTest: test_persisted?
5388
+ -------------------------
5389
+ ---------------------
5390
+ LintTest: test_to_key
5391
+ ---------------------
5392
+ -----------------------
5393
+ LintTest: test_to_param
5394
+ -----------------------
5395
+ ------------------------------
5396
+ LintTest: test_to_partial_path
5397
+ ------------------------------
5398
+ ---------------------------------------------------
5399
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5400
+ ---------------------------------------------------
5401
+ -----------------------------------------------------------------------------------------------------------------------
5402
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5403
+ -----------------------------------------------------------------------------------------------------------------------
5404
+ ---------------------------------------------------------------------------------------------------
5405
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5406
+ ---------------------------------------------------------------------------------------------------
5407
+ ---------------------------------------------------------------------------------------------
5408
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5409
+ ---------------------------------------------------------------------------------------------
5410
+ -----------------------------------------------------------------------------------------------------------
5411
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5412
+ -----------------------------------------------------------------------------------------------------------
5413
+ --------------------------------------------------------------
5414
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5415
+ --------------------------------------------------------------
5416
+ ---------------------------------------------------------
5417
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5418
+ ---------------------------------------------------------
5419
+ ---------------------------------------------------------------------------------------------
5420
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5421
+ ---------------------------------------------------------------------------------------------
5422
+ ---------------------------------------------------------
5423
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5424
+ ---------------------------------------------------------
5425
+ -------------------------------------------------------------
5426
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5427
+ -------------------------------------------------------------
5428
+ --------------------------------------------------------------------------------------------------
5429
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5430
+ --------------------------------------------------------------------------------------------------
5431
+ ----------------------------------------------------------------------
5432
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5433
+ ----------------------------------------------------------------------
5434
+ ------------------------------------------------------------
5435
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5436
+ ------------------------------------------------------------
5437
+ -------------------------------------------------------
5438
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5439
+ -------------------------------------------------------
5440
+ --------------------------------------------------------------
5441
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5442
+ --------------------------------------------------------------
5443
+ --------------------------
5444
+ LintTest: test_errors_aref
5445
+ --------------------------
5446
+ ---------------------------
5447
+ LintTest: test_model_naming
5448
+ ---------------------------
5449
+ -------------------------
5450
+ LintTest: test_persisted?
5451
+ -------------------------
5452
+ ---------------------
5453
+ LintTest: test_to_key
5454
+ ---------------------
5455
+ -----------------------
5456
+ LintTest: test_to_param
5457
+ -----------------------
5458
+ ------------------------------
5459
+ LintTest: test_to_partial_path
5460
+ ------------------------------
5461
+ ---------------------------------------------------
5462
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5463
+ ---------------------------------------------------
5464
+ -----------------------------------------------------------------------------------------------------------------------
5465
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5466
+ -----------------------------------------------------------------------------------------------------------------------
5467
+ ---------------------------------------------------------------------------------------------------
5468
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5469
+ ---------------------------------------------------------------------------------------------------
5470
+ ---------------------------------------------------------------------------------------------
5471
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5472
+ ---------------------------------------------------------------------------------------------
5473
+ -----------------------------------------------------------------------------------------------------------
5474
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5475
+ -----------------------------------------------------------------------------------------------------------
5476
+ --------------------------------------------------------------
5477
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5478
+ --------------------------------------------------------------
5479
+ ---------------------------------------------------------
5480
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5481
+ ---------------------------------------------------------
5482
+ ---------------------------------------------------------------------------------------------
5483
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5484
+ ---------------------------------------------------------------------------------------------
5485
+ ---------------------------------------------------------
5486
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5487
+ ---------------------------------------------------------
5488
+ -------------------------------------------------------------
5489
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5490
+ -------------------------------------------------------------
5491
+ --------------------------------------------------------------------------------------------------
5492
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5493
+ --------------------------------------------------------------------------------------------------
5494
+ ----------------------------------------------------------------------
5495
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5496
+ ----------------------------------------------------------------------
5497
+ ------------------------------------------------------------
5498
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5499
+ ------------------------------------------------------------
5500
+ -------------------------------------------------------
5501
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5502
+ -------------------------------------------------------
5503
+ --------------------------------------------------------------
5504
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5505
+ --------------------------------------------------------------
5506
+ --------------------------
5507
+ LintTest: test_errors_aref
5508
+ --------------------------
5509
+ ---------------------------
5510
+ LintTest: test_model_naming
5511
+ ---------------------------
5512
+ -------------------------
5513
+ LintTest: test_persisted?
5514
+ -------------------------
5515
+ ---------------------
5516
+ LintTest: test_to_key
5517
+ ---------------------
5518
+ -----------------------
5519
+ LintTest: test_to_param
5520
+ -----------------------
5521
+ ------------------------------
5522
+ LintTest: test_to_partial_path
5523
+ ------------------------------
5524
+ ---------------------------------------------------
5525
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5526
+ ---------------------------------------------------
5527
+ -----------------------------------------------------------------------------------------------------------------------
5528
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5529
+ -----------------------------------------------------------------------------------------------------------------------
5530
+ ---------------------------------------------------------------------------------------------------
5531
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5532
+ ---------------------------------------------------------------------------------------------------
5533
+ ---------------------------------------------------------------------------------------------
5534
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5535
+ ---------------------------------------------------------------------------------------------
5536
+ -----------------------------------------------------------------------------------------------------------
5537
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5538
+ -----------------------------------------------------------------------------------------------------------
5539
+ --------------------------------------------------------------
5540
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5541
+ --------------------------------------------------------------
5542
+ ---------------------------------------------------------
5543
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5544
+ ---------------------------------------------------------
5545
+ ---------------------------------------------------------------------------------------------
5546
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5547
+ ---------------------------------------------------------------------------------------------
5548
+ ---------------------------------------------------------
5549
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5550
+ ---------------------------------------------------------
5551
+ -------------------------------------------------------------
5552
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5553
+ -------------------------------------------------------------
5554
+ --------------------------------------------------------------------------------------------------
5555
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5556
+ --------------------------------------------------------------------------------------------------
5557
+ ----------------------------------------------------------------------
5558
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5559
+ ----------------------------------------------------------------------
5560
+ ------------------------------------------------------------
5561
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5562
+ ------------------------------------------------------------
5563
+ -------------------------------------------------------
5564
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5565
+ -------------------------------------------------------
5566
+ --------------------------------------------------------------
5567
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5568
+ --------------------------------------------------------------
5569
+ --------------------------
5570
+ LintTest: test_errors_aref
5571
+ --------------------------
5572
+ ---------------------------
5573
+ LintTest: test_model_naming
5574
+ ---------------------------
5575
+ -------------------------
5576
+ LintTest: test_persisted?
5577
+ -------------------------
5578
+ ---------------------
5579
+ LintTest: test_to_key
5580
+ ---------------------
5581
+ -----------------------
5582
+ LintTest: test_to_param
5583
+ -----------------------
5584
+ ------------------------------
5585
+ LintTest: test_to_partial_path
5586
+ ------------------------------
5587
+ ---------------------------------------------------
5588
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5589
+ ---------------------------------------------------
5590
+ -----------------------------------------------------------------------------------------------------------------------
5591
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5592
+ -----------------------------------------------------------------------------------------------------------------------
5593
+ ---------------------------------------------------------------------------------------------------
5594
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5595
+ ---------------------------------------------------------------------------------------------------
5596
+ ---------------------------------------------------------------------------------------------
5597
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5598
+ ---------------------------------------------------------------------------------------------
5599
+ -----------------------------------------------------------------------------------------------------------
5600
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5601
+ -----------------------------------------------------------------------------------------------------------
5602
+ --------------------------------------------------------------
5603
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5604
+ --------------------------------------------------------------
5605
+ ---------------------------------------------------------
5606
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5607
+ ---------------------------------------------------------
5608
+ ---------------------------------------------------------------------------------------------
5609
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5610
+ ---------------------------------------------------------------------------------------------
5611
+ ---------------------------------------------------------
5612
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5613
+ ---------------------------------------------------------
5614
+ -------------------------------------------------------------
5615
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5616
+ -------------------------------------------------------------
5617
+ --------------------------------------------------------------------------------------------------
5618
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5619
+ --------------------------------------------------------------------------------------------------
5620
+ ----------------------------------------------------------------------
5621
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5622
+ ----------------------------------------------------------------------
5623
+ ------------------------------------------------------------
5624
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5625
+ ------------------------------------------------------------
5626
+ -------------------------------------------------------
5627
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5628
+ -------------------------------------------------------
5629
+ --------------------------------------------------------------
5630
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5631
+ --------------------------------------------------------------
5632
+ --------------------------
5633
+ LintTest: test_errors_aref
5634
+ --------------------------
5635
+ ---------------------------
5636
+ LintTest: test_model_naming
5637
+ ---------------------------
5638
+ -------------------------
5639
+ LintTest: test_persisted?
5640
+ -------------------------
5641
+ ---------------------
5642
+ LintTest: test_to_key
5643
+ ---------------------
5644
+ -----------------------
5645
+ LintTest: test_to_param
5646
+ -----------------------
5647
+ ------------------------------
5648
+ LintTest: test_to_partial_path
5649
+ ------------------------------
5650
+ ---------------------------------------------------
5651
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5652
+ ---------------------------------------------------
5653
+ -----------------------------------------------------------------------------------------------------------------------
5654
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5655
+ -----------------------------------------------------------------------------------------------------------------------
5656
+ ---------------------------------------------------------------------------------------------------
5657
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5658
+ ---------------------------------------------------------------------------------------------------
5659
+ ---------------------------------------------------------------------------------------------
5660
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5661
+ ---------------------------------------------------------------------------------------------
5662
+ -----------------------------------------------------------------------------------------------------------
5663
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5664
+ -----------------------------------------------------------------------------------------------------------
5665
+ --------------------------------------------------------------
5666
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5667
+ --------------------------------------------------------------
5668
+ ---------------------------------------------------------
5669
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5670
+ ---------------------------------------------------------
5671
+ ---------------------------------------------------------------------------------------------
5672
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5673
+ ---------------------------------------------------------------------------------------------
5674
+ ---------------------------------------------------------
5675
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5676
+ ---------------------------------------------------------
5677
+ -------------------------------------------------------------
5678
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5679
+ -------------------------------------------------------------
5680
+ --------------------------------------------------------------------------------------------------
5681
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5682
+ --------------------------------------------------------------------------------------------------
5683
+ ----------------------------------------------------------------------
5684
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5685
+ ----------------------------------------------------------------------
5686
+ ------------------------------------------------------------
5687
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5688
+ ------------------------------------------------------------
5689
+ -------------------------------------------------------
5690
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5691
+ -------------------------------------------------------
5692
+ --------------------------------------------------------------
5693
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5694
+ --------------------------------------------------------------
5695
+ --------------------------
5696
+ LintTest: test_errors_aref
5697
+ --------------------------
5698
+ ---------------------------
5699
+ LintTest: test_model_naming
5700
+ ---------------------------
5701
+ -------------------------
5702
+ LintTest: test_persisted?
5703
+ -------------------------
5704
+ ---------------------
5705
+ LintTest: test_to_key
5706
+ ---------------------
5707
+ -----------------------
5708
+ LintTest: test_to_param
5709
+ -----------------------
5710
+ ------------------------------
5711
+ LintTest: test_to_partial_path
5712
+ ------------------------------
5713
+ ---------------------------------------------------
5714
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5715
+ ---------------------------------------------------
5716
+ -----------------------------------------------------------------------------------------------------------------------
5717
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5718
+ -----------------------------------------------------------------------------------------------------------------------
5719
+ ---------------------------------------------------------------------------------------------------
5720
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5721
+ ---------------------------------------------------------------------------------------------------
5722
+ ---------------------------------------------------------------------------------------------
5723
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5724
+ ---------------------------------------------------------------------------------------------
5725
+ -----------------------------------------------------------------------------------------------------------
5726
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5727
+ -----------------------------------------------------------------------------------------------------------
5728
+ --------------------------------------------------------------
5729
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5730
+ --------------------------------------------------------------
5731
+ ---------------------------------------------------------
5732
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5733
+ ---------------------------------------------------------
5734
+ ---------------------------------------------------------------------------------------------
5735
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5736
+ ---------------------------------------------------------------------------------------------
5737
+ ---------------------------------------------------------
5738
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5739
+ ---------------------------------------------------------
5740
+ -------------------------------------------------------------
5741
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5742
+ -------------------------------------------------------------
5743
+ --------------------------------------------------------------------------------------------------
5744
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5745
+ --------------------------------------------------------------------------------------------------
5746
+ ----------------------------------------------------------------------
5747
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5748
+ ----------------------------------------------------------------------
5749
+ ------------------------------------------------------------
5750
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5751
+ ------------------------------------------------------------
5752
+ -------------------------------------------------------
5753
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5754
+ -------------------------------------------------------
5755
+ --------------------------------------------------------------
5756
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5757
+ --------------------------------------------------------------
5758
+ --------------------------
5759
+ LintTest: test_errors_aref
5760
+ --------------------------
5761
+ ---------------------------
5762
+ LintTest: test_model_naming
5763
+ ---------------------------
5764
+ -------------------------
5765
+ LintTest: test_persisted?
5766
+ -------------------------
5767
+ ---------------------
5768
+ LintTest: test_to_key
5769
+ ---------------------
5770
+ -----------------------
5771
+ LintTest: test_to_param
5772
+ -----------------------
5773
+ ------------------------------
5774
+ LintTest: test_to_partial_path
5775
+ ------------------------------
5776
+ ---------------------------------------------------
5777
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5778
+ ---------------------------------------------------
5779
+ -----------------------------------------------------------------------------------------------------------------------
5780
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5781
+ -----------------------------------------------------------------------------------------------------------------------
5782
+ ---------------------------------------------------------------------------------------------------
5783
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5784
+ ---------------------------------------------------------------------------------------------------
5785
+ ---------------------------------------------------------------------------------------------
5786
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5787
+ ---------------------------------------------------------------------------------------------
5788
+ -----------------------------------------------------------------------------------------------------------
5789
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5790
+ -----------------------------------------------------------------------------------------------------------
5791
+ --------------------------------------------------------------
5792
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5793
+ --------------------------------------------------------------
5794
+ ---------------------------------------------------------
5795
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5796
+ ---------------------------------------------------------
5797
+ ---------------------------------------------------------------------------------------------
5798
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5799
+ ---------------------------------------------------------------------------------------------
5800
+ ---------------------------------------------------------
5801
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5802
+ ---------------------------------------------------------
5803
+ -------------------------------------------------------------
5804
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5805
+ -------------------------------------------------------------
5806
+ --------------------------------------------------------------------------------------------------
5807
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5808
+ --------------------------------------------------------------------------------------------------
5809
+ ----------------------------------------------------------------------
5810
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5811
+ ----------------------------------------------------------------------
5812
+ ------------------------------------------------------------
5813
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5814
+ ------------------------------------------------------------
5815
+ -------------------------------------------------------
5816
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5817
+ -------------------------------------------------------
5818
+ --------------------------------------------------------------
5819
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5820
+ --------------------------------------------------------------
5821
+ --------------------------
5822
+ LintTest: test_errors_aref
5823
+ --------------------------
5824
+ ---------------------------
5825
+ LintTest: test_model_naming
5826
+ ---------------------------
5827
+ -------------------------
5828
+ LintTest: test_persisted?
5829
+ -------------------------
5830
+ ---------------------
5831
+ LintTest: test_to_key
5832
+ ---------------------
5833
+ -----------------------
5834
+ LintTest: test_to_param
5835
+ -----------------------
5836
+ ------------------------------
5837
+ LintTest: test_to_partial_path
5838
+ ------------------------------
5839
+ ---------------------------------------------------
5840
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5841
+ ---------------------------------------------------
5842
+ -----------------------------------------------------------------------------------------------------------------------
5843
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5844
+ -----------------------------------------------------------------------------------------------------------------------
5845
+ ---------------------------------------------------------------------------------------------------
5846
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5847
+ ---------------------------------------------------------------------------------------------------
5848
+ ---------------------------------------------------------------------------------------------
5849
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5850
+ ---------------------------------------------------------------------------------------------
5851
+ -----------------------------------------------------------------------------------------------------------
5852
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5853
+ -----------------------------------------------------------------------------------------------------------
5854
+ --------------------------------------------------------------
5855
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5856
+ --------------------------------------------------------------
5857
+ ---------------------------------------------------------
5858
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5859
+ ---------------------------------------------------------
5860
+ ---------------------------------------------------------------------------------------------
5861
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5862
+ ---------------------------------------------------------------------------------------------
5863
+ ---------------------------------------------------------
5864
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5865
+ ---------------------------------------------------------
5866
+ -------------------------------------------------------------
5867
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5868
+ -------------------------------------------------------------
5869
+ --------------------------------------------------------------------------------------------------
5870
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5871
+ --------------------------------------------------------------------------------------------------
5872
+ ----------------------------------------------------------------------
5873
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5874
+ ----------------------------------------------------------------------
5875
+ ------------------------------------------------------------
5876
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5877
+ ------------------------------------------------------------
5878
+ -------------------------------------------------------
5879
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5880
+ -------------------------------------------------------
5881
+ --------------------------------------------------------------
5882
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5883
+ --------------------------------------------------------------
5884
+ --------------------------
5885
+ LintTest: test_errors_aref
5886
+ --------------------------
5887
+ ---------------------------
5888
+ LintTest: test_model_naming
5889
+ ---------------------------
5890
+ -------------------------
5891
+ LintTest: test_persisted?
5892
+ -------------------------
5893
+ ---------------------
5894
+ LintTest: test_to_key
5895
+ ---------------------
5896
+ -----------------------
5897
+ LintTest: test_to_param
5898
+ -----------------------
5899
+ ------------------------------
5900
+ LintTest: test_to_partial_path
5901
+ ------------------------------
5902
+ ---------------------------------------------------
5903
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5904
+ ---------------------------------------------------
5905
+ -----------------------------------------------------------------------------------------------------------------------
5906
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5907
+ -----------------------------------------------------------------------------------------------------------------------
5908
+ ---------------------------------------------------------------------------------------------------
5909
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5910
+ ---------------------------------------------------------------------------------------------------
5911
+ ---------------------------------------------------------------------------------------------
5912
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5913
+ ---------------------------------------------------------------------------------------------
5914
+ -----------------------------------------------------------------------------------------------------------
5915
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5916
+ -----------------------------------------------------------------------------------------------------------
5917
+ --------------------------------------------------------------
5918
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5919
+ --------------------------------------------------------------
5920
+ ---------------------------------------------------------
5921
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5922
+ ---------------------------------------------------------
5923
+ ---------------------------------------------------------------------------------------------
5924
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5925
+ ---------------------------------------------------------------------------------------------
5926
+ ---------------------------------------------------------
5927
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5928
+ ---------------------------------------------------------
5929
+ -------------------------------------------------------------
5930
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5931
+ -------------------------------------------------------------
5932
+ --------------------------------------------------------------------------------------------------
5933
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5934
+ --------------------------------------------------------------------------------------------------
5935
+ ----------------------------------------------------------------------
5936
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
5937
+ ----------------------------------------------------------------------
5938
+ ------------------------------------------------------------
5939
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
5940
+ ------------------------------------------------------------
5941
+ -------------------------------------------------------
5942
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
5943
+ -------------------------------------------------------
5944
+ --------------------------------------------------------------
5945
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
5946
+ --------------------------------------------------------------
5947
+ --------------------------
5948
+ LintTest: test_errors_aref
5949
+ --------------------------
5950
+ ---------------------------
5951
+ LintTest: test_model_naming
5952
+ ---------------------------
5953
+ -------------------------
5954
+ LintTest: test_persisted?
5955
+ -------------------------
5956
+ ---------------------
5957
+ LintTest: test_to_key
5958
+ ---------------------
5959
+ -----------------------
5960
+ LintTest: test_to_param
5961
+ -----------------------
5962
+ ------------------------------
5963
+ LintTest: test_to_partial_path
5964
+ ------------------------------
5965
+ ---------------------------------------------------
5966
+ CouchRestAdapter::AttributeMethodTest: test_base_id
5967
+ ---------------------------------------------------
5968
+ -----------------------------------------------------------------------------------------------------------------------
5969
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
5970
+ -----------------------------------------------------------------------------------------------------------------------
5971
+ ---------------------------------------------------------------------------------------------------
5972
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
5973
+ ---------------------------------------------------------------------------------------------------
5974
+ ---------------------------------------------------------------------------------------------
5975
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
5976
+ ---------------------------------------------------------------------------------------------
5977
+ -----------------------------------------------------------------------------------------------------------
5978
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
5979
+ -----------------------------------------------------------------------------------------------------------
5980
+ --------------------------------------------------------------
5981
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
5982
+ --------------------------------------------------------------
5983
+ ---------------------------------------------------------
5984
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
5985
+ ---------------------------------------------------------
5986
+ ---------------------------------------------------------------------------------------------
5987
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
5988
+ ---------------------------------------------------------------------------------------------
5989
+ ---------------------------------------------------------
5990
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
5991
+ ---------------------------------------------------------
5992
+ -------------------------------------------------------------
5993
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
5994
+ -------------------------------------------------------------
5995
+ --------------------------------------------------------------------------------------------------
5996
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
5997
+ --------------------------------------------------------------------------------------------------
5998
+ ----------------------------------------------------------------------
5999
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6000
+ ----------------------------------------------------------------------
6001
+ ------------------------------------------------------------
6002
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
6003
+ ------------------------------------------------------------
6004
+ -------------------------------------------------------
6005
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6006
+ -------------------------------------------------------
6007
+ --------------------------------------------------------------
6008
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6009
+ --------------------------------------------------------------
6010
+ --------------------------
6011
+ LintTest: test_errors_aref
6012
+ --------------------------
6013
+ ---------------------------
6014
+ LintTest: test_model_naming
6015
+ ---------------------------
6016
+ -------------------------
6017
+ LintTest: test_persisted?
6018
+ -------------------------
6019
+ ---------------------
6020
+ LintTest: test_to_key
6021
+ ---------------------
6022
+ -----------------------
6023
+ LintTest: test_to_param
6024
+ -----------------------
6025
+ ------------------------------
6026
+ LintTest: test_to_partial_path
6027
+ ------------------------------
6028
+ ---------------------------------------------------
6029
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6030
+ ---------------------------------------------------
6031
+ -----------------------------------------------------------------------------------------------------------------------
6032
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6033
+ -----------------------------------------------------------------------------------------------------------------------
6034
+ ---------------------------------------------------------------------------------------------------
6035
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6036
+ ---------------------------------------------------------------------------------------------------
6037
+ ---------------------------------------------------------------------------------------------
6038
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6039
+ ---------------------------------------------------------------------------------------------
6040
+ -----------------------------------------------------------------------------------------------------------
6041
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6042
+ -----------------------------------------------------------------------------------------------------------
6043
+ --------------------------------------------------------------
6044
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6045
+ --------------------------------------------------------------
6046
+ ---------------------------------------------------------
6047
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6048
+ ---------------------------------------------------------
6049
+ ---------------------------------------------------------------------------------------------
6050
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6051
+ ---------------------------------------------------------------------------------------------
6052
+ ---------------------------------------------------------
6053
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6054
+ ---------------------------------------------------------
6055
+ -------------------------------------------------------------
6056
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6057
+ -------------------------------------------------------------
6058
+ --------------------------------------------------------------------------------------------------
6059
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6060
+ --------------------------------------------------------------------------------------------------
6061
+ ----------------------------------------------------------------------
6062
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6063
+ ----------------------------------------------------------------------
6064
+ ------------------------------------------------------------
6065
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
6066
+ ------------------------------------------------------------
6067
+ -------------------------------------------------------
6068
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6069
+ -------------------------------------------------------
6070
+ --------------------------------------------------------------
6071
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6072
+ --------------------------------------------------------------
6073
+ --------------------------
6074
+ LintTest: test_errors_aref
6075
+ --------------------------
6076
+ ---------------------------
6077
+ LintTest: test_model_naming
6078
+ ---------------------------
6079
+ -------------------------
6080
+ LintTest: test_persisted?
6081
+ -------------------------
6082
+ ---------------------
6083
+ LintTest: test_to_key
6084
+ ---------------------
6085
+ -----------------------
6086
+ LintTest: test_to_param
6087
+ -----------------------
6088
+ ------------------------------
6089
+ LintTest: test_to_partial_path
6090
+ ------------------------------
6091
+ ---------------------------------------------------
6092
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6093
+ ---------------------------------------------------
6094
+ -----------------------------------------------------------------------------------------------------------------------
6095
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6096
+ -----------------------------------------------------------------------------------------------------------------------
6097
+ ---------------------------------------------------------------------------------------------------
6098
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6099
+ ---------------------------------------------------------------------------------------------------
6100
+ ---------------------------------------------------------------------------------------------
6101
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6102
+ ---------------------------------------------------------------------------------------------
6103
+ -----------------------------------------------------------------------------------------------------------
6104
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6105
+ -----------------------------------------------------------------------------------------------------------
6106
+ --------------------------------------------------------------
6107
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6108
+ --------------------------------------------------------------
6109
+ ---------------------------------------------------------
6110
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6111
+ ---------------------------------------------------------
6112
+ ---------------------------------------------------------------------------------------------
6113
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6114
+ ---------------------------------------------------------------------------------------------
6115
+ ---------------------------------------------------------
6116
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6117
+ ---------------------------------------------------------
6118
+ -------------------------------------------------------------
6119
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6120
+ -------------------------------------------------------------
6121
+ --------------------------------------------------------------------------------------------------
6122
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6123
+ --------------------------------------------------------------------------------------------------
6124
+ ----------------------------------------------------------------------
6125
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6126
+ ----------------------------------------------------------------------
6127
+ ------------------------------------------------------------
6128
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
6129
+ ------------------------------------------------------------
6130
+ -------------------------------------------------------
6131
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6132
+ -------------------------------------------------------
6133
+ --------------------------------------------------------------
6134
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6135
+ --------------------------------------------------------------
6136
+ --------------------------
6137
+ LintTest: test_errors_aref
6138
+ --------------------------
6139
+ ---------------------------
6140
+ LintTest: test_model_naming
6141
+ ---------------------------
6142
+ -------------------------
6143
+ LintTest: test_persisted?
6144
+ -------------------------
6145
+ ---------------------
6146
+ LintTest: test_to_key
6147
+ ---------------------
6148
+ -----------------------
6149
+ LintTest: test_to_param
6150
+ -----------------------
6151
+ ------------------------------
6152
+ LintTest: test_to_partial_path
6153
+ ------------------------------
6154
+ ---------------------------------------------------
6155
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6156
+ ---------------------------------------------------
6157
+ -----------------------------------------------------------------------------------------------------------------------
6158
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6159
+ -----------------------------------------------------------------------------------------------------------------------
6160
+ ---------------------------------------------------------------------------------------------------
6161
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6162
+ ---------------------------------------------------------------------------------------------------
6163
+ ---------------------------------------------------------------------------------------------
6164
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6165
+ ---------------------------------------------------------------------------------------------
6166
+ -----------------------------------------------------------------------------------------------------------
6167
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6168
+ -----------------------------------------------------------------------------------------------------------
6169
+ --------------------------------------------------------------
6170
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6171
+ --------------------------------------------------------------
6172
+ ---------------------------------------------------------
6173
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6174
+ ---------------------------------------------------------
6175
+ ---------------------------------------------------------------------------------------------
6176
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6177
+ ---------------------------------------------------------------------------------------------
6178
+ ---------------------------------------------------------
6179
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6180
+ ---------------------------------------------------------
6181
+ -------------------------------------------------------------
6182
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6183
+ -------------------------------------------------------------
6184
+ --------------------------------------------------------------------------------------------------
6185
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6186
+ --------------------------------------------------------------------------------------------------
6187
+ ----------------------------------------------------------------------
6188
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6189
+ ----------------------------------------------------------------------
6190
+ ------------------------------------------------------------
6191
+ CouchRestAdapterTest: test_query_all_will_execute_JSON.parse
6192
+ ------------------------------------------------------------
6193
+ -------------------------------------------------------
6194
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6195
+ -------------------------------------------------------
6196
+ --------------------------------------------------------------
6197
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6198
+ --------------------------------------------------------------
6199
+ --------------------------
6200
+ LintTest: test_errors_aref
6201
+ --------------------------
6202
+ ---------------------------
6203
+ LintTest: test_model_naming
6204
+ ---------------------------
6205
+ -------------------------
6206
+ LintTest: test_persisted?
6207
+ -------------------------
6208
+ ---------------------
6209
+ LintTest: test_to_key
6210
+ ---------------------
6211
+ -----------------------
6212
+ LintTest: test_to_param
6213
+ -----------------------
6214
+ ------------------------------
6215
+ LintTest: test_to_partial_path
6216
+ ------------------------------
6217
+ ---------------------------------------------------
6218
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6219
+ ---------------------------------------------------
6220
+ -----------------------------------------------------------------------------------------------------------------------
6221
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6222
+ -----------------------------------------------------------------------------------------------------------------------
6223
+ ---------------------------------------------------------------------------------------------------
6224
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6225
+ ---------------------------------------------------------------------------------------------------
6226
+ ---------------------------------------------------------------------------------------------
6227
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6228
+ ---------------------------------------------------------------------------------------------
6229
+ -----------------------------------------------------------------------------------------------------------
6230
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6231
+ -----------------------------------------------------------------------------------------------------------
6232
+ --------------------------------------------------------------
6233
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6234
+ --------------------------------------------------------------
6235
+ ------------------------------------------------------------
6236
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6237
+ ------------------------------------------------------------
6238
+ ---------------------------------------------------------
6239
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6240
+ ---------------------------------------------------------
6241
+ ---------------------------------------------------------------------------------------------
6242
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6243
+ ---------------------------------------------------------------------------------------------
6244
+ ---------------------------------------------------------
6245
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6246
+ ---------------------------------------------------------
6247
+ -------------------------------------------------------------
6248
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6249
+ -------------------------------------------------------------
6250
+ --------------------------------------------------------------------------------------------------
6251
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6252
+ --------------------------------------------------------------------------------------------------
6253
+ ----------------------------------------------------------------------
6254
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6255
+ ----------------------------------------------------------------------
6256
+ -------------------------------------------------------
6257
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6258
+ -------------------------------------------------------
6259
+ --------------------------------------------------------------
6260
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6261
+ --------------------------------------------------------------
6262
+ --------------------------
6263
+ LintTest: test_errors_aref
6264
+ --------------------------
6265
+ ---------------------------
6266
+ LintTest: test_model_naming
6267
+ ---------------------------
6268
+ -------------------------
6269
+ LintTest: test_persisted?
6270
+ -------------------------
6271
+ ---------------------
6272
+ LintTest: test_to_key
6273
+ ---------------------
6274
+ -----------------------
6275
+ LintTest: test_to_param
6276
+ -----------------------
6277
+ ------------------------------
6278
+ LintTest: test_to_partial_path
6279
+ ------------------------------
6280
+ ---------------------------------------------------
6281
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6282
+ ---------------------------------------------------
6283
+ -----------------------------------------------------------------------------------------------------------------------
6284
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6285
+ -----------------------------------------------------------------------------------------------------------------------
6286
+ ---------------------------------------------------------------------------------------------------
6287
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6288
+ ---------------------------------------------------------------------------------------------------
6289
+ ---------------------------------------------------------------------------------------------
6290
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6291
+ ---------------------------------------------------------------------------------------------
6292
+ -----------------------------------------------------------------------------------------------------------
6293
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6294
+ -----------------------------------------------------------------------------------------------------------
6295
+ --------------------------------------------------------------
6296
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6297
+ --------------------------------------------------------------
6298
+ ------------------------------------------------------------
6299
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6300
+ ------------------------------------------------------------
6301
+ ---------------------------------------------------------
6302
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6303
+ ---------------------------------------------------------
6304
+ ---------------------------------------------------------------------------------------------
6305
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6306
+ ---------------------------------------------------------------------------------------------
6307
+ ---------------------------------------------------------
6308
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6309
+ ---------------------------------------------------------
6310
+ -------------------------------------------------------------
6311
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6312
+ -------------------------------------------------------------
6313
+ --------------------------------------------------------------------------------------------------
6314
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6315
+ --------------------------------------------------------------------------------------------------
6316
+ ----------------------------------------------------------------------
6317
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6318
+ ----------------------------------------------------------------------
6319
+ -------------------------------------------------------
6320
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6321
+ -------------------------------------------------------
6322
+ --------------------------------------------------------------
6323
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6324
+ --------------------------------------------------------------
6325
+ --------------------------
6326
+ LintTest: test_errors_aref
6327
+ --------------------------
6328
+ ---------------------------
6329
+ LintTest: test_model_naming
6330
+ ---------------------------
6331
+ -------------------------
6332
+ LintTest: test_persisted?
6333
+ -------------------------
6334
+ ---------------------
6335
+ LintTest: test_to_key
6336
+ ---------------------
6337
+ -----------------------
6338
+ LintTest: test_to_param
6339
+ -----------------------
6340
+ ------------------------------
6341
+ LintTest: test_to_partial_path
6342
+ ------------------------------
6343
+ ---------------------------------------------------
6344
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6345
+ ---------------------------------------------------
6346
+ -----------------------------------------------------------------------------------------------------------------------
6347
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6348
+ -----------------------------------------------------------------------------------------------------------------------
6349
+ ---------------------------------------------------------------------------------------------------
6350
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6351
+ ---------------------------------------------------------------------------------------------------
6352
+ ---------------------------------------------------------------------------------------------
6353
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6354
+ ---------------------------------------------------------------------------------------------
6355
+ -----------------------------------------------------------------------------------------------------------
6356
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6357
+ -----------------------------------------------------------------------------------------------------------
6358
+ --------------------------------------------------------------
6359
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6360
+ --------------------------------------------------------------
6361
+ ------------------------------------------------------------
6362
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6363
+ ------------------------------------------------------------
6364
+ ---------------------------------------------------------
6365
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6366
+ ---------------------------------------------------------
6367
+ ---------------------------------------------------------------------------------------------
6368
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6369
+ ---------------------------------------------------------------------------------------------
6370
+ ---------------------------------------------------------
6371
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6372
+ ---------------------------------------------------------
6373
+ -------------------------------------------------------------
6374
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6375
+ -------------------------------------------------------------
6376
+ --------------------------------------------------------------------------------------------------
6377
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6378
+ --------------------------------------------------------------------------------------------------
6379
+ ----------------------------------------------------------------------
6380
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6381
+ ----------------------------------------------------------------------
6382
+ -------------------------------------------------------
6383
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6384
+ -------------------------------------------------------
6385
+ --------------------------------------------------------------
6386
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6387
+ --------------------------------------------------------------
6388
+ --------------------------
6389
+ LintTest: test_errors_aref
6390
+ --------------------------
6391
+ ---------------------------
6392
+ LintTest: test_model_naming
6393
+ ---------------------------
6394
+ -------------------------
6395
+ LintTest: test_persisted?
6396
+ -------------------------
6397
+ ---------------------
6398
+ LintTest: test_to_key
6399
+ ---------------------
6400
+ -----------------------
6401
+ LintTest: test_to_param
6402
+ -----------------------
6403
+ ------------------------------
6404
+ LintTest: test_to_partial_path
6405
+ ------------------------------
6406
+ ---------------------------------------------------
6407
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6408
+ ---------------------------------------------------
6409
+ -----------------------------------------------------------------------------------------------------------------------
6410
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6411
+ -----------------------------------------------------------------------------------------------------------------------
6412
+ ---------------------------------------------------------------------------------------------------
6413
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6414
+ ---------------------------------------------------------------------------------------------------
6415
+ ---------------------------------------------------------------------------------------------
6416
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6417
+ ---------------------------------------------------------------------------------------------
6418
+ -----------------------------------------------------------------------------------------------------------
6419
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6420
+ -----------------------------------------------------------------------------------------------------------
6421
+ --------------------------------------------------------------
6422
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6423
+ --------------------------------------------------------------
6424
+ ------------------------------------------------------------
6425
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6426
+ ------------------------------------------------------------
6427
+ ---------------------------------------------------------
6428
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6429
+ ---------------------------------------------------------
6430
+ ---------------------------------------------------------------------------------------------
6431
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6432
+ ---------------------------------------------------------------------------------------------
6433
+ ---------------------------------------------------------
6434
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6435
+ ---------------------------------------------------------
6436
+ -------------------------------------------------------------
6437
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6438
+ -------------------------------------------------------------
6439
+ --------------------------------------------------------------------------------------------------
6440
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6441
+ --------------------------------------------------------------------------------------------------
6442
+ ----------------------------------------------------------------------
6443
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6444
+ ----------------------------------------------------------------------
6445
+ -------------------------------------------------------
6446
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6447
+ -------------------------------------------------------
6448
+ --------------------------------------------------------------
6449
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6450
+ --------------------------------------------------------------
6451
+ --------------------------
6452
+ LintTest: test_errors_aref
6453
+ --------------------------
6454
+ ---------------------------
6455
+ LintTest: test_model_naming
6456
+ ---------------------------
6457
+ -------------------------
6458
+ LintTest: test_persisted?
6459
+ -------------------------
6460
+ ---------------------
6461
+ LintTest: test_to_key
6462
+ ---------------------
6463
+ -----------------------
6464
+ LintTest: test_to_param
6465
+ -----------------------
6466
+ ------------------------------
6467
+ LintTest: test_to_partial_path
6468
+ ------------------------------
6469
+ ---------------------------------------------------
6470
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6471
+ ---------------------------------------------------
6472
+ -----------------------------------------------------------------------------------------------------------------------
6473
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6474
+ -----------------------------------------------------------------------------------------------------------------------
6475
+ ---------------------------------------------------------------------------------------------------
6476
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6477
+ ---------------------------------------------------------------------------------------------------
6478
+ ---------------------------------------------------------------------------------------------
6479
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6480
+ ---------------------------------------------------------------------------------------------
6481
+ -----------------------------------------------------------------------------------------------------------
6482
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6483
+ -----------------------------------------------------------------------------------------------------------
6484
+ --------------------------------------------------------------
6485
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6486
+ --------------------------------------------------------------
6487
+ ------------------------------------------------------------
6488
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6489
+ ------------------------------------------------------------
6490
+ ---------------------------------------------------------
6491
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6492
+ ---------------------------------------------------------
6493
+ ---------------------------------------------------------------------------------------------
6494
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6495
+ ---------------------------------------------------------------------------------------------
6496
+ ---------------------------------------------------------
6497
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6498
+ ---------------------------------------------------------
6499
+ -------------------------------------------------------------
6500
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6501
+ -------------------------------------------------------------
6502
+ --------------------------------------------------------------------------------------------------
6503
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6504
+ --------------------------------------------------------------------------------------------------
6505
+ ----------------------------------------------------------------------
6506
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6507
+ ----------------------------------------------------------------------
6508
+ -------------------------------------------------------
6509
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6510
+ -------------------------------------------------------
6511
+ --------------------------------------------------------------
6512
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6513
+ --------------------------------------------------------------
6514
+ --------------------------
6515
+ LintTest: test_errors_aref
6516
+ --------------------------
6517
+ ---------------------------
6518
+ LintTest: test_model_naming
6519
+ ---------------------------
6520
+ -------------------------
6521
+ LintTest: test_persisted?
6522
+ -------------------------
6523
+ ---------------------
6524
+ LintTest: test_to_key
6525
+ ---------------------
6526
+ -----------------------
6527
+ LintTest: test_to_param
6528
+ -----------------------
6529
+ ------------------------------
6530
+ LintTest: test_to_partial_path
6531
+ ------------------------------
6532
+ ---------------------------------------------------
6533
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6534
+ ---------------------------------------------------
6535
+ -----------------------------------------------------------------------------------------------------------------------
6536
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6537
+ -----------------------------------------------------------------------------------------------------------------------
6538
+ ---------------------------------------------------------------------------------------------------
6539
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6540
+ ---------------------------------------------------------------------------------------------------
6541
+ ---------------------------------------------------------------------------------------------
6542
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6543
+ ---------------------------------------------------------------------------------------------
6544
+ -----------------------------------------------------------------------------------------------------------
6545
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6546
+ -----------------------------------------------------------------------------------------------------------
6547
+ --------------------------------------------------------------
6548
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6549
+ --------------------------------------------------------------
6550
+ ------------------------------------------------------------
6551
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6552
+ ------------------------------------------------------------
6553
+ ---------------------------------------------------------
6554
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6555
+ ---------------------------------------------------------
6556
+ ---------------------------------------------------------------------------------------------
6557
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6558
+ ---------------------------------------------------------------------------------------------
6559
+ ---------------------------------------------------------
6560
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6561
+ ---------------------------------------------------------
6562
+ -------------------------------------------------------------
6563
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6564
+ -------------------------------------------------------------
6565
+ --------------------------------------------------------------------------------------------------
6566
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6567
+ --------------------------------------------------------------------------------------------------
6568
+ ----------------------------------------------------------------------
6569
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6570
+ ----------------------------------------------------------------------
6571
+ -------------------------------------------------------
6572
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6573
+ -------------------------------------------------------
6574
+ --------------------------------------------------------------
6575
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6576
+ --------------------------------------------------------------
6577
+ --------------------------
6578
+ LintTest: test_errors_aref
6579
+ --------------------------
6580
+ ---------------------------
6581
+ LintTest: test_model_naming
6582
+ ---------------------------
6583
+ -------------------------
6584
+ LintTest: test_persisted?
6585
+ -------------------------
6586
+ ---------------------
6587
+ LintTest: test_to_key
6588
+ ---------------------
6589
+ -----------------------
6590
+ LintTest: test_to_param
6591
+ -----------------------
6592
+ ------------------------------
6593
+ LintTest: test_to_partial_path
6594
+ ------------------------------
6595
+ ---------------------------------------------------
6596
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6597
+ ---------------------------------------------------
6598
+ -----------------------------------------------------------------------------------------------------------------------
6599
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6600
+ -----------------------------------------------------------------------------------------------------------------------
6601
+ ---------------------------------------------------------------------------------------------------
6602
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6603
+ ---------------------------------------------------------------------------------------------------
6604
+ ---------------------------------------------------------------------------------------------
6605
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6606
+ ---------------------------------------------------------------------------------------------
6607
+ -----------------------------------------------------------------------------------------------------------
6608
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6609
+ -----------------------------------------------------------------------------------------------------------
6610
+ --------------------------------------------------------------
6611
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6612
+ --------------------------------------------------------------
6613
+ ------------------------------------------------------------
6614
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6615
+ ------------------------------------------------------------
6616
+ ---------------------------------------------------------
6617
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6618
+ ---------------------------------------------------------
6619
+ ---------------------------------------------------------------------------------------------
6620
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6621
+ ---------------------------------------------------------------------------------------------
6622
+ ---------------------------------------------------------
6623
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6624
+ ---------------------------------------------------------
6625
+ -------------------------------------------------------------
6626
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6627
+ -------------------------------------------------------------
6628
+ --------------------------------------------------------------------------------------------------
6629
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6630
+ --------------------------------------------------------------------------------------------------
6631
+ ----------------------------------------------------------------------
6632
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6633
+ ----------------------------------------------------------------------
6634
+ -------------------------------------------------------
6635
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6636
+ -------------------------------------------------------
6637
+ --------------------------------------------------------------
6638
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6639
+ --------------------------------------------------------------
6640
+ --------------------------
6641
+ LintTest: test_errors_aref
6642
+ --------------------------
6643
+ ---------------------------
6644
+ LintTest: test_model_naming
6645
+ ---------------------------
6646
+ -------------------------
6647
+ LintTest: test_persisted?
6648
+ -------------------------
6649
+ ---------------------
6650
+ LintTest: test_to_key
6651
+ ---------------------
6652
+ -----------------------
6653
+ LintTest: test_to_param
6654
+ -----------------------
6655
+ ------------------------------
6656
+ LintTest: test_to_partial_path
6657
+ ------------------------------
6658
+ ---------------------------------------------------
6659
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6660
+ ---------------------------------------------------
6661
+ -----------------------------------------------------------------------------------------------------------------------
6662
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6663
+ -----------------------------------------------------------------------------------------------------------------------
6664
+ ---------------------------------------------------------------------------------------------------
6665
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6666
+ ---------------------------------------------------------------------------------------------------
6667
+ ---------------------------------------------------------------------------------------------
6668
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6669
+ ---------------------------------------------------------------------------------------------
6670
+ -----------------------------------------------------------------------------------------------------------
6671
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6672
+ -----------------------------------------------------------------------------------------------------------
6673
+ --------------------------------------------------------------
6674
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6675
+ --------------------------------------------------------------
6676
+ ------------------------------------------------------------
6677
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6678
+ ------------------------------------------------------------
6679
+ ---------------------------------------------------------
6680
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6681
+ ---------------------------------------------------------
6682
+ ---------------------------------------------------------------------------------------------
6683
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6684
+ ---------------------------------------------------------------------------------------------
6685
+ ---------------------------------------------------------
6686
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6687
+ ---------------------------------------------------------
6688
+ -------------------------------------------------------------
6689
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6690
+ -------------------------------------------------------------
6691
+ --------------------------------------------------------------------------------------------------
6692
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6693
+ --------------------------------------------------------------------------------------------------
6694
+ ----------------------------------------------------------------------
6695
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6696
+ ----------------------------------------------------------------------
6697
+ -------------------------------------------------------
6698
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6699
+ -------------------------------------------------------
6700
+ --------------------------------------------------------------
6701
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6702
+ --------------------------------------------------------------
6703
+ --------------------------
6704
+ LintTest: test_errors_aref
6705
+ --------------------------
6706
+ ---------------------------
6707
+ LintTest: test_model_naming
6708
+ ---------------------------
6709
+ -------------------------
6710
+ LintTest: test_persisted?
6711
+ -------------------------
6712
+ ---------------------
6713
+ LintTest: test_to_key
6714
+ ---------------------
6715
+ -----------------------
6716
+ LintTest: test_to_param
6717
+ -----------------------
6718
+ ------------------------------
6719
+ LintTest: test_to_partial_path
6720
+ ------------------------------
6721
+ ---------------------------------------------------
6722
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6723
+ ---------------------------------------------------
6724
+ -----------------------------------------------------------------------------------------------------------------------
6725
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6726
+ -----------------------------------------------------------------------------------------------------------------------
6727
+ ---------------------------------------------------------------------------------------------------
6728
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6729
+ ---------------------------------------------------------------------------------------------------
6730
+ ---------------------------------------------------------------------------------------------
6731
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6732
+ ---------------------------------------------------------------------------------------------
6733
+ -----------------------------------------------------------------------------------------------------------
6734
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6735
+ -----------------------------------------------------------------------------------------------------------
6736
+ --------------------------------------------------------------
6737
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6738
+ --------------------------------------------------------------
6739
+ ------------------------------------------------------------
6740
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6741
+ ------------------------------------------------------------
6742
+ ---------------------------------------------------------
6743
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6744
+ ---------------------------------------------------------
6745
+ ---------------------------------------------------------------------------------------------
6746
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6747
+ ---------------------------------------------------------------------------------------------
6748
+ ---------------------------------------------------------
6749
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6750
+ ---------------------------------------------------------
6751
+ -------------------------------------------------------------
6752
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6753
+ -------------------------------------------------------------
6754
+ --------------------------------------------------------------------------------------------------
6755
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6756
+ --------------------------------------------------------------------------------------------------
6757
+ ----------------------------------------------------------------------
6758
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6759
+ ----------------------------------------------------------------------
6760
+ -------------------------------------------------------
6761
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6762
+ -------------------------------------------------------
6763
+ --------------------------------------------------------------
6764
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6765
+ --------------------------------------------------------------
6766
+ --------------------------
6767
+ LintTest: test_errors_aref
6768
+ --------------------------
6769
+ ---------------------------
6770
+ LintTest: test_model_naming
6771
+ ---------------------------
6772
+ -------------------------
6773
+ LintTest: test_persisted?
6774
+ -------------------------
6775
+ ---------------------
6776
+ LintTest: test_to_key
6777
+ ---------------------
6778
+ -----------------------
6779
+ LintTest: test_to_param
6780
+ -----------------------
6781
+ ------------------------------
6782
+ LintTest: test_to_partial_path
6783
+ ------------------------------
6784
+ ---------------------------------------------------
6785
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6786
+ ---------------------------------------------------
6787
+ -----------------------------------------------------------------------------------------------------------------------
6788
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6789
+ -----------------------------------------------------------------------------------------------------------------------
6790
+ ---------------------------------------------------------------------------------------------------
6791
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6792
+ ---------------------------------------------------------------------------------------------------
6793
+ ---------------------------------------------------------------------------------------------
6794
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6795
+ ---------------------------------------------------------------------------------------------
6796
+ -----------------------------------------------------------------------------------------------------------
6797
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6798
+ -----------------------------------------------------------------------------------------------------------
6799
+ --------------------------------------------------------------
6800
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6801
+ --------------------------------------------------------------
6802
+ ------------------------------------------------------------
6803
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6804
+ ------------------------------------------------------------
6805
+ ---------------------------------------------------------
6806
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6807
+ ---------------------------------------------------------
6808
+ ---------------------------------------------------------------------------------------------
6809
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6810
+ ---------------------------------------------------------------------------------------------
6811
+ ---------------------------------------------------------
6812
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6813
+ ---------------------------------------------------------
6814
+ -------------------------------------------------------------
6815
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6816
+ -------------------------------------------------------------
6817
+ --------------------------------------------------------------------------------------------------
6818
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6819
+ --------------------------------------------------------------------------------------------------
6820
+ ----------------------------------------------------------------------
6821
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6822
+ ----------------------------------------------------------------------
6823
+ -------------------------------------------------------
6824
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6825
+ -------------------------------------------------------
6826
+ --------------------------------------------------------------
6827
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6828
+ --------------------------------------------------------------
6829
+ --------------------------
6830
+ LintTest: test_errors_aref
6831
+ --------------------------
6832
+ ---------------------------
6833
+ LintTest: test_model_naming
6834
+ ---------------------------
6835
+ -------------------------
6836
+ LintTest: test_persisted?
6837
+ -------------------------
6838
+ ---------------------
6839
+ LintTest: test_to_key
6840
+ ---------------------
6841
+ -----------------------
6842
+ LintTest: test_to_param
6843
+ -----------------------
6844
+ ------------------------------
6845
+ LintTest: test_to_partial_path
6846
+ ------------------------------
6847
+ ---------------------------------------------------
6848
+ CouchRestAdapter::AttributeMethodTest: test_base_id
6849
+ ---------------------------------------------------
6850
+ -----------------------------------------------------------------------------------------------------------------------
6851
+ CouchRestAdapter::DocumentManagementTest: test__set_id_and_namespace_will_set_the__id_variable_with_an_id_and_namespace
6852
+ -----------------------------------------------------------------------------------------------------------------------
6853
+ ---------------------------------------------------------------------------------------------------
6854
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace=_allows_override_of_namespace
6855
+ ---------------------------------------------------------------------------------------------------
6856
+ ---------------------------------------------------------------------------------------------
6857
+ CouchRestAdapter::DocumentManagementTest: test_class_method_namespace_defaults_to_object_name
6858
+ ---------------------------------------------------------------------------------------------
6859
+ -----------------------------------------------------------------------------------------------------------
6860
+ CouchRestAdapter::DocumentManagementTest: test_class_method_object_name_returns_model_name_in_singular_form
6861
+ -----------------------------------------------------------------------------------------------------------
6862
+ --------------------------------------------------------------
6863
+ CouchRestAdapterTest: test_attributes_are_available_as_methods
6864
+ --------------------------------------------------------------
6865
+ ------------------------------------------------------------
6866
+ CouchRestAdapterTest: test_attributes_can_be_set_dynamically
6867
+ ------------------------------------------------------------
6868
+ ---------------------------------------------------------
6869
+ CouchRestAdapterTest: test_can_not_instantiate_base_class
6870
+ ---------------------------------------------------------
6871
+ ---------------------------------------------------------------------------------------------
6872
+ CouchRestAdapterTest: test_find_by_attr_will_return_array_of_docs_with_type_set_to_model_name
6873
+ ---------------------------------------------------------------------------------------------
6874
+ ---------------------------------------------------------
6875
+ CouchRestAdapterTest: test_find_will_work_with_partial_id
6876
+ ---------------------------------------------------------
6877
+ -------------------------------------------------------------
6878
+ CouchRestAdapterTest: test_one_can_update_existing_attributes
6879
+ -------------------------------------------------------------
6880
+ --------------------------------------------------------------------------------------------------
6881
+ CouchRestAdapterTest: test_query_all_by_type_will_return_array_of_docs_with_type_set_to_model_name
6882
+ --------------------------------------------------------------------------------------------------
6883
+ ----------------------------------------------------------------------
6884
+ CouchRestAdapterTest: test_query_all_will_bring_array_of_Foo_instances
6885
+ ----------------------------------------------------------------------
6886
+ -------------------------------------------------------
6887
+ CouchRestAdapterTest: test_update_to_attr=_will_persist
6888
+ -------------------------------------------------------
6889
+ --------------------------------------------------------------
6890
+ CouchRestAdapterTest: test_will_add_class_underscorename_to_id
6891
+ --------------------------------------------------------------
6892
+ --------------------------
6893
+ LintTest: test_errors_aref
6894
+ --------------------------
6895
+ ---------------------------
6896
+ LintTest: test_model_naming
6897
+ ---------------------------
6898
+ -------------------------
6899
+ LintTest: test_persisted?
6900
+ -------------------------
6901
+ ---------------------
6902
+ LintTest: test_to_key
6903
+ ---------------------
6904
+ -----------------------
6905
+ LintTest: test_to_param
6906
+ -----------------------
6907
+ ------------------------------
6908
+ LintTest: test_to_partial_path
6909
+ ------------------------------