mongoid_sortable_tree 0.0.3 → 0.0.4

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.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/mongoid_sortable_tree_controller.rb +4 -0
  3. data/lib/mongoid_sortable_tree/version.rb +1 -1
  4. data/test/dummy/log/development.log +384 -0
  5. data/test/dummy/log/test.log +662 -0
  6. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-Y-8sZ6DjFsXi1bhZGpTJ1JoQt45XOOZrv_1p94Pw8U.cache +0 -0
  7. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1oLxzAd_dgtQLHPH8fjnwrbCFGZwPp5e3USSdiWqxIU.cache +1 -0
  8. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CFZ5yw1FeSuwoxmyP7Z3OkE6Y2KrPrMLpcdKq64i6lU.cache +1 -0
  9. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DWqq8F3DFrgfhamNx6EJiYMrGfwgBTLZxihJJPjR3Qw.cache +1 -0
  10. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GDamEbOpT2LhceEF74_oPlRBPyNSkveph3Wl0o3oUPE.cache +1 -0
  11. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VOQgYXapjm5hgNNl36MM0NdZZd-FUpnr3mPWdrsVe1s.cache +1 -0
  12. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WDiz2PQlUbkJw5po76ZIkqXlFUY0fKceOwjP8mUukYA.cache +0 -0
  13. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZTPk9ptr1Iptsh414mHP_lBwC-UaW8BflInQa_tS2Sg.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c1ZE6ZM_tMWfNWYOScQhgP0dxOpxe0x8m2x1t6M0sPA.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tReF9dtrkqBN6DP9lIVfHZrb2btv3G0Dw8N0-iNO-FM.cache +1 -0
  16. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yLDr6LmcQrVeFWkDOTbZlqPX7Ja0a-u5mANdUcd222Y.cache +2 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1oLxzAd_dgtQLHPH8fjnwrbCFGZwPp5e3USSdiWqxIU.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DWqq8F3DFrgfhamNx6EJiYMrGfwgBTLZxihJJPjR3Qw.cache +1 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VOQgYXapjm5hgNNl36MM0NdZZd-FUpnr3mPWdrsVe1s.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/c1ZE6ZM_tMWfNWYOScQhgP0dxOpxe0x8m2x1t6M0sPA.cache +0 -0
  21. data/test/dummy/tmp/pids/server.pid +1 -0
  22. data/test/features/can_crud_test.rb +27 -0
  23. metadata +34 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43a9942e4150cca6be93fa0e51a3f4e90d597e53
4
- data.tar.gz: 48b01476a8531fc8bad7119ddaedd7ef729fdce5
3
+ metadata.gz: 2f03a17f5f60393b0c62535a22ab0fed89999930
4
+ data.tar.gz: 72e96535f446fbe2d6f8b6c3dda836c49a848308
5
5
  SHA512:
6
- metadata.gz: a4e8d664b3cb914fbd3a8b029cfbdae5b02574f20fa0eaa984771e0b2a6472ccbd911be7006666fe9159714edb6c376f296aaf469990f5a3e000c156223f1e0e
7
- data.tar.gz: b002db26c78134cc5699a007b9e2b978f0fea4ed96e535f21c1303e798575302e9198cec102fee8ef7b936e3141ce697059f4c8a6ba26ef31166dc7574bd870e
6
+ metadata.gz: b14580059b9d262029a7eff8e8c78bea1a95917c36783e29116e984a53e14fd57ad354d729a4967ed81fdc1718aa31be4b559d953ace15d44be2f5ea34bae3ec
7
+ data.tar.gz: 5d75e380e2d3eff0b7f7987d6d4b4f5ddac488ea5b36d3acf64e8251d4503cb678dbcf86140704b91cf10e275db077eaf46fe7d5665aac095c6897e665069df7
@@ -65,6 +65,8 @@ module MongoidSortableTreeController
65
65
  variable = self.instance_variable_set(variable, klass.where(:id => node[:id]).first)
66
66
  parent = klass.where(:id => node_parent[:id]).first
67
67
  if variable && variable.update_attribute(:parent_id,parent.try(:id))
68
+ variable.rearrange_children!
69
+ variable.save
68
70
  return {id: variable.id.to_s, msg: 'moved', status: 200}
69
71
  else
70
72
  return {id: variable.id.to_s, msg: variable.errors.full_messages, status: 406}
@@ -85,6 +87,8 @@ module MongoidSortableTreeController
85
87
  elsif id_mapping[copied_item.parent_id]
86
88
  copied_item.update_attribute(:parent_id,id_mapping[copied_item.parent_id])
87
89
  end
90
+ copied_item.rearrange_children!
91
+ copied_item.save
88
92
  end
89
93
  return {id: id_mapping.keys.map(&:to_s), msg: 'cpoied', status: 200}
90
94
  rescue => e
@@ -1,3 +1,3 @@
1
1
  module MongoidSortableTree
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -961,3 +961,387 @@ Started POST "/tags/check" for ::1 at 2015-11-24 17:54:57 +0800
961
961
  Processing by TagsController#check as */*
962
962
  Parameters: {"operation"=>"delete_node", "node"=>{"id"=>"565433e47db99b0f6c000004", "text"=>"test_add_root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"565433e47db99b0f6c000004"}, "a_attr"=>{"href"=>"#", "id"=>"565433e47db99b0f6c000004_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5631e3097db99b678d000001", "5631e2fb7db99b678d000000", "565433e47db99b0f6c000004"], "children_d"=>["5631e3097db99b678d000001", "5642fefc7db99b50d6000001", "5642fefc7db99b50d6000002", "5642fefc7db99b50d6000000", "5631e2fb7db99b678d000000", "5639b38f7db99b31cf000000", "563cd8657db99b7bf4000000", "5631e37f7db99b678d000002", "565433e47db99b0f6c000004"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"2"}
963
963
  Completed 200 OK in 14ms (Views: 0.3ms)
964
+
965
+
966
+ Started GET "/tags" for ::1 at 2015-11-26 15:34:07 +0800
967
+ Processing by TagsController#index as HTML
968
+ Rendered tags/index.html.erb within layouts/application (36.9ms)
969
+ Completed 200 OK in 587ms (Views: 568.2ms)
970
+
971
+
972
+ Started GET "/assets/jstree-default.self-988cd30a94ac46e38405d65132dbd5004a3176dc147a365eb829d98375388b5f.css?body=1" for ::1 at 2015-11-26 15:34:08 +0800
973
+
974
+
975
+ Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2015-11-26 15:34:08 +0800
976
+
977
+
978
+ Started GET "/assets/tags.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-11-26 15:34:08 +0800
979
+
980
+
981
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for ::1 at 2015-11-26 15:34:08 +0800
982
+
983
+
984
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for ::1 at 2015-11-26 15:34:08 +0800
985
+
986
+
987
+ Started GET "/assets/jstree.self-d533795c36add6bc6d28f4a675b0261f15133e799a7c085a7a2dba29f2fee3b2.js?body=1" for ::1 at 2015-11-26 15:34:08 +0800
988
+
989
+
990
+ Started GET "/assets/tags.self-b4785afd0fb3ff1376856e0ceb7257f7e3d9491f67e3b3286a0efc4b56f517c0.js?body=1" for ::1 at 2015-11-26 15:34:08 +0800
991
+
992
+
993
+ Started GET "/assets/application.self-f8806224e027f3e3f0138ea9ce99319e298dfdb323304d1f1be6eae8e8c74724.js?body=1" for ::1 at 2015-11-26 15:34:08 +0800
994
+
995
+
996
+ Started GET "/assets/mongoid_sortable_tree.self-59ba1960c1b9034a8c4dc973b73718935d70588759f0409c691d35829b3dae9d.js?body=1" for ::1 at 2015-11-26 15:34:08 +0800
997
+
998
+
999
+ Started GET "/assets/default/32px-be1a46ee82282037be2e21dbea494f21aab625b8ca32193b3d03a5e6472cbea2.png" for ::1 at 2015-11-26 15:34:09 +0800
1000
+
1001
+
1002
+ Started GET "/assets/default/throbber-76ca7d5b1257abfe620b56fb3eef5e9f51284b03da86d64999f1e66e24e0d9fc.gif" for ::1 at 2015-11-26 15:34:09 +0800
1003
+
1004
+
1005
+ Started POST "/tags/check" for ::1 at 2015-11-26 15:36:05 +0800
1006
+ Processing by TagsController#check as */*
1007
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"New node", "id"=>"true"}, "node_parent"=>{"id"=>"5655221c7db99b66b2000004", "text"=>"hello", "icon"=>"true", "parent"=>"56551fff7db99b66b2000000", "parents"=>["56551fff7db99b66b2000000", "5655207d7db99b66b2000003", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5655221c7db99b66b2000004"}, "a_attr"=>{"href"=>"#", "id"=>"5655221c7db99b66b2000004_anchor"}, "original"=>"false"}, "info"=>"0"}
1008
+ Completed 200 OK in 55ms (Views: 0.4ms)
1009
+
1010
+
1011
+ Started POST "/tags/check" for ::1 at 2015-11-26 15:36:08 +0800
1012
+ Processing by TagsController#check as */*
1013
+ Parameters: {"operation"=>"rename_node", "node"=>{"id"=>"5656b6657db99b583e000000", "text"=>"New node", "icon"=>"true", "parent"=>"5655221c7db99b66b2000004", "parents"=>["5655221c7db99b66b2000004", "56551fff7db99b66b2000000", "5655207d7db99b66b2000003", "#"], "data"=>"", "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656b6657db99b583e000000"}, "a_attr"=>{"href"=>"#", "id"=>"j1_15_anchor"}, "original"=>{"text"=>"New node"}}, "node_parent"=>{"id"=>"5655221c7db99b66b2000004", "text"=>"hello", "icon"=>"true", "parent"=>"56551fff7db99b66b2000000", "parents"=>["56551fff7db99b66b2000000", "5655207d7db99b66b2000003", "#"], "children"=>["5656b6657db99b583e000000"], "children_d"=>["5656b6657db99b583e000000"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5655221c7db99b66b2000004"}, "a_attr"=>{"href"=>"#", "id"=>"5655221c7db99b66b2000004_anchor"}, "original"=>"false"}, "info"=>"test"}
1014
+ Completed 200 OK in 10ms (Views: 0.2ms)
1015
+
1016
+
1017
+ Started POST "/tags/check" for ::1 at 2015-11-26 15:43:16 +0800
1018
+ Processing by TagsController#check as */*
1019
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5655221c7db99b66b2000004", "text"=>"hello", "icon"=>"true", "parent"=>"56551fff7db99b66b2000000", "parents"=>["56551fff7db99b66b2000000", "5655207d7db99b66b2000003", "#"], "children"=>["5656b6657db99b583e000000"], "children_d"=>["5656b6657db99b583e000000"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5655221c7db99b66b2000004"}, "a_attr"=>{"href"=>"#", "id"=>"5655221c7db99b66b2000004_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"56543d637db99b8b94000000", "text"=>"others", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"56543d637db99b8b94000000"}, "a_attr"=>{"href"=>"#", "id"=>"56543d637db99b8b94000000_anchor"}, "original"=>"false"}, "info"=>"0"}
1020
+ Completed 200 OK in 16ms (Views: 0.2ms)
1021
+
1022
+
1023
+ Started GET "/tags" for ::1 at 2015-11-26 15:52:56 +0800
1024
+ Processing by TagsController#index as HTML
1025
+ Rendered tags/index.html.erb within layouts/application (38.9ms)
1026
+ Completed 200 OK in 533ms (Views: 512.6ms)
1027
+
1028
+
1029
+ Started GET "/assets/jstree-default.self-988cd30a94ac46e38405d65132dbd5004a3176dc147a365eb829d98375388b5f.css?body=1" for ::1 at 2015-11-26 15:52:57 +0800
1030
+
1031
+
1032
+ Started GET "/assets/tags.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-11-26 15:52:57 +0800
1033
+
1034
+
1035
+ Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2015-11-26 15:52:57 +0800
1036
+
1037
+
1038
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for ::1 at 2015-11-26 15:52:57 +0800
1039
+
1040
+
1041
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for ::1 at 2015-11-26 15:52:57 +0800
1042
+
1043
+
1044
+ Started GET "/assets/jstree.self-d533795c36add6bc6d28f4a675b0261f15133e799a7c085a7a2dba29f2fee3b2.js?body=1" for ::1 at 2015-11-26 15:52:57 +0800
1045
+
1046
+
1047
+ Started GET "/assets/tags.self-b4785afd0fb3ff1376856e0ceb7257f7e3d9491f67e3b3286a0efc4b56f517c0.js?body=1" for ::1 at 2015-11-26 15:52:57 +0800
1048
+
1049
+
1050
+ Started GET "/assets/mongoid_sortable_tree.self-59ba1960c1b9034a8c4dc973b73718935d70588759f0409c691d35829b3dae9d.js?body=1" for ::1 at 2015-11-26 15:52:57 +0800
1051
+
1052
+
1053
+ Started GET "/assets/application.self-f8806224e027f3e3f0138ea9ce99319e298dfdb323304d1f1be6eae8e8c74724.js?body=1" for ::1 at 2015-11-26 15:52:57 +0800
1054
+
1055
+
1056
+ Started GET "/assets/default/32px-be1a46ee82282037be2e21dbea494f21aab625b8ca32193b3d03a5e6472cbea2.png" for ::1 at 2015-11-26 15:52:58 +0800
1057
+
1058
+
1059
+ Started GET "/assets/default/throbber-76ca7d5b1257abfe620b56fb3eef5e9f51284b03da86d64999f1e66e24e0d9fc.gif" for ::1 at 2015-11-26 15:52:58 +0800
1060
+
1061
+
1062
+ Started POST "/tags/check" for ::1 at 2015-11-26 15:53:11 +0800
1063
+ Processing by TagsController#check as */*
1064
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5655221c7db99b66b2000004", "text"=>"hello", "icon"=>"true", "parent"=>"56543d637db99b8b94000000", "parents"=>["56543d637db99b8b94000000", "#"], "children"=>["5656b6657db99b583e000000"], "children_d"=>["5656b6657db99b583e000000"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5655221c7db99b66b2000004"}, "a_attr"=>{"href"=>"#", "id"=>"5655221c7db99b66b2000004_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"565685be7db99b7c8c000001", "text"=>"others", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"565685be7db99b7c8c000001"}, "a_attr"=>{"href"=>"#", "id"=>"565685be7db99b7c8c000001_anchor"}, "original"=>"false"}, "info"=>"0"}
1065
+ Completed 200 OK in 16ms (Views: 0.6ms)
1066
+
1067
+
1068
+ Started GET "/tags" for ::1 at 2015-11-26 15:53:54 +0800
1069
+ Processing by TagsController#index as HTML
1070
+ Rendered tags/index.html.erb within layouts/application (4.9ms)
1071
+ Completed 200 OK in 163ms (Views: 162.4ms)
1072
+
1073
+
1074
+ Started GET "/assets/tags.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-11-26 15:53:55 +0800
1075
+
1076
+
1077
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for ::1 at 2015-11-26 15:53:55 +0800
1078
+
1079
+
1080
+ Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2015-11-26 15:53:55 +0800
1081
+
1082
+
1083
+ Started GET "/assets/jstree.self-d533795c36add6bc6d28f4a675b0261f15133e799a7c085a7a2dba29f2fee3b2.js?body=1" for ::1 at 2015-11-26 15:53:55 +0800
1084
+
1085
+
1086
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for ::1 at 2015-11-26 15:53:55 +0800
1087
+
1088
+
1089
+ Started GET "/assets/tags.self-b4785afd0fb3ff1376856e0ceb7257f7e3d9491f67e3b3286a0efc4b56f517c0.js?body=1" for ::1 at 2015-11-26 15:53:55 +0800
1090
+
1091
+
1092
+ Started GET "/assets/application.self-f8806224e027f3e3f0138ea9ce99319e298dfdb323304d1f1be6eae8e8c74724.js?body=1" for ::1 at 2015-11-26 15:53:55 +0800
1093
+
1094
+
1095
+ Started GET "/assets/mongoid_sortable_tree.self-59ba1960c1b9034a8c4dc973b73718935d70588759f0409c691d35829b3dae9d.js?body=1" for ::1 at 2015-11-26 15:53:55 +0800
1096
+
1097
+
1098
+ Started GET "/assets/jstree-default.self-988cd30a94ac46e38405d65132dbd5004a3176dc147a365eb829d98375388b5f.css?body=1" for ::1 at 2015-11-26 15:53:55 +0800
1099
+
1100
+
1101
+ Started GET "/assets/default/32px-be1a46ee82282037be2e21dbea494f21aab625b8ca32193b3d03a5e6472cbea2.png" for ::1 at 2015-11-26 15:53:55 +0800
1102
+
1103
+
1104
+ Started GET "/assets/default/throbber-76ca7d5b1257abfe620b56fb3eef5e9f51284b03da86d64999f1e66e24e0d9fc.gif" for ::1 at 2015-11-26 15:53:55 +0800
1105
+
1106
+
1107
+ Started POST "/tags/check" for ::1 at 2015-11-26 16:08:01 +0800
1108
+ Processing by TagsController#check as */*
1109
+ Parameters: {"operation"=>"delete_node", "node"=>{"id"=>"56543d637db99b8b94000000", "text"=>"others", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"56543d637db99b8b94000000"}, "a_attr"=>{"href"=>"#", "id"=>"56543d637db99b8b94000000_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5631e3097db99b678d000001", "5631e2fb7db99b678d000000", "56543d637db99b8b94000000", "5655207d7db99b66b2000003", "565685be7db99b7c8c000001"], "children_d"=>["5631e3097db99b678d000001", "5642fefc7db99b50d6000001", "5642fefc7db99b50d6000002", "5642fefc7db99b50d6000000", "5631e2fb7db99b678d000000", "565520147db99b66b2000001", "56543d637db99b8b94000000", "5655207d7db99b66b2000003", "5639b38f7db99b31cf000000", "563cd8657db99b7bf4000000", "5631e37f7db99b678d000002", "56551fff7db99b66b2000000", "565685be7db99b7c8c000001", "5656b6657db99b583e000000", "5655221c7db99b66b2000004"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"2"}
1110
+ Completed 200 OK in 9ms (Views: 0.3ms)
1111
+
1112
+
1113
+ Started GET "/tags" for ::1 at 2015-11-26 17:40:09 +0800
1114
+ Processing by TagsController#index as HTML
1115
+ Rendered tags/index.html.erb within layouts/application (12.4ms)
1116
+ Completed 200 OK in 193ms (Views: 159.5ms)
1117
+
1118
+
1119
+ Started GET "/assets/tags.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-11-26 17:40:10 +0800
1120
+
1121
+
1122
+ Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2015-11-26 17:40:10 +0800
1123
+
1124
+
1125
+ Started GET "/assets/jstree.self-d533795c36add6bc6d28f4a675b0261f15133e799a7c085a7a2dba29f2fee3b2.js?body=1" for ::1 at 2015-11-26 17:40:10 +0800
1126
+
1127
+
1128
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for ::1 at 2015-11-26 17:40:10 +0800
1129
+
1130
+
1131
+ Started GET "/assets/mongoid_sortable_tree.self-59ba1960c1b9034a8c4dc973b73718935d70588759f0409c691d35829b3dae9d.js?body=1" for ::1 at 2015-11-26 17:40:10 +0800
1132
+
1133
+
1134
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for ::1 at 2015-11-26 17:40:10 +0800
1135
+
1136
+
1137
+ Started GET "/assets/tags.self-b4785afd0fb3ff1376856e0ceb7257f7e3d9491f67e3b3286a0efc4b56f517c0.js?body=1" for ::1 at 2015-11-26 17:40:10 +0800
1138
+
1139
+
1140
+ Started GET "/assets/jstree-default.self-988cd30a94ac46e38405d65132dbd5004a3176dc147a365eb829d98375388b5f.css?body=1" for ::1 at 2015-11-26 17:40:10 +0800
1141
+
1142
+
1143
+ Started GET "/assets/application.self-f8806224e027f3e3f0138ea9ce99319e298dfdb323304d1f1be6eae8e8c74724.js?body=1" for ::1 at 2015-11-26 17:40:10 +0800
1144
+
1145
+
1146
+ Started GET "/assets/default/throbber-76ca7d5b1257abfe620b56fb3eef5e9f51284b03da86d64999f1e66e24e0d9fc.gif" for ::1 at 2015-11-26 17:40:10 +0800
1147
+
1148
+
1149
+ Started GET "/assets/default/32px-be1a46ee82282037be2e21dbea494f21aab625b8ca32193b3d03a5e6472cbea2.png" for ::1 at 2015-11-26 17:40:10 +0800
1150
+
1151
+
1152
+ Started GET "/tags" for ::1 at 2015-11-26 17:40:35 +0800
1153
+ Processing by TagsController#index as HTML
1154
+ Rendered tags/index.html.erb within layouts/application (37.5ms)
1155
+ Completed 200 OK in 440ms (Views: 418.2ms)
1156
+
1157
+
1158
+ Started GET "/assets/tags.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-11-26 17:40:36 +0800
1159
+
1160
+
1161
+ Started GET "/assets/jstree-default.self-988cd30a94ac46e38405d65132dbd5004a3176dc147a365eb829d98375388b5f.css?body=1" for ::1 at 2015-11-26 17:40:36 +0800
1162
+
1163
+
1164
+ Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2015-11-26 17:40:36 +0800
1165
+
1166
+
1167
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for ::1 at 2015-11-26 17:40:36 +0800
1168
+
1169
+
1170
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for ::1 at 2015-11-26 17:40:36 +0800
1171
+
1172
+
1173
+ Started GET "/assets/jstree.self-d533795c36add6bc6d28f4a675b0261f15133e799a7c085a7a2dba29f2fee3b2.js?body=1" for ::1 at 2015-11-26 17:40:36 +0800
1174
+
1175
+
1176
+ Started GET "/assets/mongoid_sortable_tree.self-59ba1960c1b9034a8c4dc973b73718935d70588759f0409c691d35829b3dae9d.js?body=1" for ::1 at 2015-11-26 17:40:36 +0800
1177
+
1178
+
1179
+ Started GET "/assets/application.self-f8806224e027f3e3f0138ea9ce99319e298dfdb323304d1f1be6eae8e8c74724.js?body=1" for ::1 at 2015-11-26 17:40:36 +0800
1180
+
1181
+
1182
+ Started GET "/assets/tags.self-b4785afd0fb3ff1376856e0ceb7257f7e3d9491f67e3b3286a0efc4b56f517c0.js?body=1" for ::1 at 2015-11-26 17:40:36 +0800
1183
+
1184
+
1185
+ Started GET "/assets/default/throbber-76ca7d5b1257abfe620b56fb3eef5e9f51284b03da86d64999f1e66e24e0d9fc.gif" for ::1 at 2015-11-26 17:40:36 +0800
1186
+
1187
+
1188
+ Started GET "/assets/default/32px-be1a46ee82282037be2e21dbea494f21aab625b8ca32193b3d03a5e6472cbea2.png" for ::1 at 2015-11-26 17:40:36 +0800
1189
+
1190
+
1191
+ Started POST "/tags/check" for ::1 at 2015-11-26 17:40:47 +0800
1192
+ Processing by TagsController#check as */*
1193
+ Parameters: {"operation"=>"delete_node", "node"=>{"id"=>"565520147db99b66b2000001", "text"=>"通路", "icon"=>"true", "parent"=>"5631e2fb7db99b678d000000", "parents"=>["5631e2fb7db99b678d000000", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"565520147db99b66b2000001"}, "a_attr"=>{"href"=>"#", "id"=>"565520147db99b66b2000001_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5631e2fb7db99b678d000000", "text"=>"Mobile", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["565520147db99b66b2000001"], "children_d"=>["565520147db99b66b2000001"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5631e2fb7db99b678d000000"}, "a_attr"=>{"href"=>"/cool", "id"=>"5631e2fb7db99b678d000000_anchor"}, "original"=>"false"}, "info"=>"0"}
1194
+ Completed 200 OK in 8ms (Views: 0.3ms)
1195
+
1196
+
1197
+ Started GET "/tags" for ::1 at 2015-11-26 17:40:56 +0800
1198
+ Processing by TagsController#index as HTML
1199
+ Rendered tags/index.html.erb within layouts/application (4.4ms)
1200
+ Completed 200 OK in 161ms (Views: 160.2ms)
1201
+
1202
+
1203
+ Started GET "/assets/tags.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-11-26 17:40:57 +0800
1204
+
1205
+
1206
+ Started GET "/assets/jstree-default.self-988cd30a94ac46e38405d65132dbd5004a3176dc147a365eb829d98375388b5f.css?body=1" for ::1 at 2015-11-26 17:40:57 +0800
1207
+
1208
+
1209
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for ::1 at 2015-11-26 17:40:57 +0800
1210
+
1211
+
1212
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for ::1 at 2015-11-26 17:40:57 +0800
1213
+
1214
+
1215
+ Started GET "/assets/jstree.self-d533795c36add6bc6d28f4a675b0261f15133e799a7c085a7a2dba29f2fee3b2.js?body=1" for ::1 at 2015-11-26 17:40:57 +0800
1216
+
1217
+
1218
+ Started GET "/assets/mongoid_sortable_tree.self-59ba1960c1b9034a8c4dc973b73718935d70588759f0409c691d35829b3dae9d.js?body=1" for ::1 at 2015-11-26 17:40:57 +0800
1219
+
1220
+
1221
+ Started GET "/assets/tags.self-b4785afd0fb3ff1376856e0ceb7257f7e3d9491f67e3b3286a0efc4b56f517c0.js?body=1" for ::1 at 2015-11-26 17:40:57 +0800
1222
+
1223
+
1224
+ Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2015-11-26 17:40:57 +0800
1225
+
1226
+
1227
+ Started GET "/assets/application.self-f8806224e027f3e3f0138ea9ce99319e298dfdb323304d1f1be6eae8e8c74724.js?body=1" for ::1 at 2015-11-26 17:40:57 +0800
1228
+
1229
+
1230
+ Started GET "/assets/default/throbber-76ca7d5b1257abfe620b56fb3eef5e9f51284b03da86d64999f1e66e24e0d9fc.gif" for ::1 at 2015-11-26 17:40:57 +0800
1231
+
1232
+
1233
+ Started GET "/assets/default/32px-be1a46ee82282037be2e21dbea494f21aab625b8ca32193b3d03a5e6472cbea2.png" for ::1 at 2015-11-26 17:40:57 +0800
1234
+
1235
+
1236
+ Started POST "/tags/check" for ::1 at 2015-11-26 17:42:42 +0800
1237
+ Processing by TagsController#check as */*
1238
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"56551fff7db99b66b2000000", "text"=>"通路", "icon"=>"true", "parent"=>"5655207d7db99b66b2000003", "parents"=>["5655207d7db99b66b2000003", "#"], "children"=>["5631e37f7db99b678d000002"], "children_d"=>["5639b38f7db99b31cf000000", "563cd8657db99b7bf4000000", "5631e37f7db99b678d000002"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"56551fff7db99b66b2000000"}, "a_attr"=>{"href"=>"#", "id"=>"56551fff7db99b66b2000000_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5631e2fb7db99b678d000000", "text"=>"Mobile", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5631e2fb7db99b678d000000"}, "a_attr"=>{"href"=>"/cool", "id"=>"5631e2fb7db99b678d000000_anchor"}, "original"=>"false"}, "info"=>"0"}
1239
+ Completed 200 OK in 48ms (Views: 0.3ms)
1240
+
1241
+
1242
+ Started POST "/tags/check" for ::1 at 2015-11-26 17:43:27 +0800
1243
+ Processing by TagsController#check as */*
1244
+ Parameters: {"operation"=>"copy_node", "node"=>{"id"=>"56551fff7db99b66b2000000", "text"=>"通路", "icon"=>"true", "parent"=>"5631e2fb7db99b678d000000", "parents"=>["5631e2fb7db99b678d000000", "#"], "children"=>["5631e37f7db99b678d000002"], "children_d"=>["5639b38f7db99b31cf000000", "563cd8657db99b7bf4000000", "5631e37f7db99b678d000002"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"56551fff7db99b66b2000000"}, "a_attr"=>{"href"=>"#", "id"=>"56551fff7db99b66b2000000_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5655207d7db99b66b2000003", "text"=>"beautycam", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5655207d7db99b66b2000003"}, "a_attr"=>{"href"=>"#", "id"=>"5655207d7db99b66b2000003_anchor"}, "original"=>"false"}, "info"=>"0"}
1245
+ Completed 200 OK in 63ms (Views: 0.2ms)
1246
+
1247
+
1248
+ Started GET "/tags" for ::1 at 2015-11-26 17:43:27 +0800
1249
+ Processing by TagsController#index as HTML
1250
+ Rendered tags/index.html.erb within layouts/application (4.5ms)
1251
+ Completed 200 OK in 97ms (Views: 96.4ms)
1252
+
1253
+
1254
+ Started GET "/assets/jstree-default.self-988cd30a94ac46e38405d65132dbd5004a3176dc147a365eb829d98375388b5f.css?body=1" for ::1 at 2015-11-26 17:43:28 +0800
1255
+
1256
+
1257
+ Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2015-11-26 17:43:28 +0800
1258
+
1259
+
1260
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for ::1 at 2015-11-26 17:43:28 +0800
1261
+
1262
+
1263
+ Started GET "/assets/mongoid_sortable_tree.self-59ba1960c1b9034a8c4dc973b73718935d70588759f0409c691d35829b3dae9d.js?body=1" for ::1 at 2015-11-26 17:43:28 +0800
1264
+
1265
+
1266
+ Started GET "/assets/tags.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-11-26 17:43:28 +0800
1267
+
1268
+
1269
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for ::1 at 2015-11-26 17:43:28 +0800
1270
+
1271
+
1272
+ Started GET "/assets/tags.self-b4785afd0fb3ff1376856e0ceb7257f7e3d9491f67e3b3286a0efc4b56f517c0.js?body=1" for ::1 at 2015-11-26 17:43:28 +0800
1273
+
1274
+
1275
+ Started GET "/assets/jstree.self-d533795c36add6bc6d28f4a675b0261f15133e799a7c085a7a2dba29f2fee3b2.js?body=1" for ::1 at 2015-11-26 17:43:28 +0800
1276
+
1277
+
1278
+ Started GET "/assets/application.self-f8806224e027f3e3f0138ea9ce99319e298dfdb323304d1f1be6eae8e8c74724.js?body=1" for ::1 at 2015-11-26 17:43:28 +0800
1279
+
1280
+
1281
+ Started GET "/assets/default/throbber-76ca7d5b1257abfe620b56fb3eef5e9f51284b03da86d64999f1e66e24e0d9fc.gif" for ::1 at 2015-11-26 17:43:28 +0800
1282
+
1283
+
1284
+ Started GET "/assets/default/32px-be1a46ee82282037be2e21dbea494f21aab625b8ca32193b3d03a5e6472cbea2.png" for ::1 at 2015-11-26 17:43:28 +0800
1285
+
1286
+
1287
+ Started POST "/tags/check" for ::1 at 2015-11-26 17:43:38 +0800
1288
+ Processing by TagsController#check as */*
1289
+ Parameters: {"operation"=>"delete_node", "node"=>{"id"=>"56551fff7db99b66b2000000", "text"=>"通路", "icon"=>"true", "parent"=>"5631e2fb7db99b678d000000", "parents"=>["5631e2fb7db99b678d000000", "#"], "children"=>["5631e37f7db99b678d000002"], "children_d"=>["5639b38f7db99b31cf000000", "563cd8657db99b7bf4000000", "5631e37f7db99b678d000002"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"56551fff7db99b66b2000000"}, "a_attr"=>{"href"=>"#", "id"=>"56551fff7db99b66b2000000_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5631e2fb7db99b678d000000", "text"=>"Mobile", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["56551fff7db99b66b2000000"], "children_d"=>["5639b38f7db99b31cf000000", "563cd8657db99b7bf4000000", "5631e37f7db99b678d000002", "56551fff7db99b66b2000000"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5631e2fb7db99b678d000000"}, "a_attr"=>{"href"=>"/cool", "id"=>"5631e2fb7db99b678d000000_anchor"}, "original"=>"false"}, "info"=>"0"}
1290
+ Completed 200 OK in 9ms (Views: 0.4ms)
1291
+
1292
+
1293
+ Started GET "/tags" for ::1 at 2015-11-26 17:43:41 +0800
1294
+ Processing by TagsController#index as HTML
1295
+ Rendered tags/index.html.erb within layouts/application (4.9ms)
1296
+ Completed 200 OK in 99ms (Views: 98.9ms)
1297
+
1298
+
1299
+ Started GET "/assets/jstree-default.self-988cd30a94ac46e38405d65132dbd5004a3176dc147a365eb829d98375388b5f.css?body=1" for ::1 at 2015-11-26 17:43:41 +0800
1300
+
1301
+
1302
+ Started GET "/assets/tags.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-11-26 17:43:41 +0800
1303
+
1304
+
1305
+ Started GET "/assets/application.self-d885a0a66bd595c10edb24f8879f94e334d88be0730c4d7c7a7b57c731c09037.css?body=1" for ::1 at 2015-11-26 17:43:41 +0800
1306
+
1307
+
1308
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for ::1 at 2015-11-26 17:43:41 +0800
1309
+
1310
+
1311
+ Started GET "/assets/tags.self-b4785afd0fb3ff1376856e0ceb7257f7e3d9491f67e3b3286a0efc4b56f517c0.js?body=1" for ::1 at 2015-11-26 17:43:41 +0800
1312
+
1313
+
1314
+ Started GET "/assets/mongoid_sortable_tree.self-59ba1960c1b9034a8c4dc973b73718935d70588759f0409c691d35829b3dae9d.js?body=1" for ::1 at 2015-11-26 17:43:42 +0800
1315
+
1316
+
1317
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for ::1 at 2015-11-26 17:43:42 +0800
1318
+
1319
+
1320
+ Started GET "/assets/jstree.self-d533795c36add6bc6d28f4a675b0261f15133e799a7c085a7a2dba29f2fee3b2.js?body=1" for ::1 at 2015-11-26 17:43:42 +0800
1321
+
1322
+
1323
+ Started GET "/assets/application.self-f8806224e027f3e3f0138ea9ce99319e298dfdb323304d1f1be6eae8e8c74724.js?body=1" for ::1 at 2015-11-26 17:43:42 +0800
1324
+
1325
+
1326
+ Started GET "/assets/default/32px-be1a46ee82282037be2e21dbea494f21aab625b8ca32193b3d03a5e6472cbea2.png" for ::1 at 2015-11-26 17:43:42 +0800
1327
+
1328
+
1329
+ Started GET "/assets/default/throbber-76ca7d5b1257abfe620b56fb3eef5e9f51284b03da86d64999f1e66e24e0d9fc.gif" for ::1 at 2015-11-26 17:43:42 +0800
1330
+
1331
+
1332
+ Started POST "/tags/check" for ::1 at 2015-11-26 17:44:55 +0800
1333
+ Processing by TagsController#check as */*
1334
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"New node", "id"=>"true"}, "node_parent"=>{"id"=>"5656b6657db99b583e000000", "text"=>"test", "icon"=>"true", "parent"=>"5655221c7db99b66b2000004", "parents"=>["5655221c7db99b66b2000004", "565685be7db99b7c8c000001", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656b6657db99b583e000000"}, "a_attr"=>{"href"=>"#", "id"=>"5656b6657db99b583e000000_anchor"}, "original"=>"false"}, "info"=>"0"}
1335
+ Completed 200 OK in 23ms (Views: 0.3ms)
1336
+
1337
+
1338
+ Started POST "/tags/check" for ::1 at 2015-11-26 17:45:04 +0800
1339
+ Processing by TagsController#check as */*
1340
+ Parameters: {"operation"=>"rename_node", "node"=>{"id"=>"5656d4977db99b7ab5000004", "text"=>"New node", "icon"=>"true", "parent"=>"5656b6657db99b583e000000", "parents"=>["5656b6657db99b583e000000", "5655221c7db99b66b2000004", "565685be7db99b7c8c000001", "#"], "data"=>"", "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d4977db99b7ab5000004"}, "a_attr"=>{"href"=>"#", "id"=>"j1_14_anchor"}, "original"=>{"text"=>"New node"}}, "node_parent"=>{"id"=>"5656b6657db99b583e000000", "text"=>"test", "icon"=>"true", "parent"=>"5655221c7db99b66b2000004", "parents"=>["5655221c7db99b66b2000004", "565685be7db99b7c8c000001", "#"], "children"=>["5656d4977db99b7ab5000004"], "children_d"=>["5656d4977db99b7ab5000004"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656b6657db99b583e000000"}, "a_attr"=>{"href"=>"#", "id"=>"5656b6657db99b583e000000_anchor"}, "original"=>"false"}, "info"=>"test2"}
1341
+ Completed 200 OK in 9ms (Views: 0.3ms)
1342
+
1343
+
1344
+ Started POST "/tags/check" for ::1 at 2015-11-26 17:45:30 +0800
1345
+ Processing by TagsController#check as */*
1346
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5655221c7db99b66b2000004", "text"=>"hello", "icon"=>"true", "parent"=>"565685be7db99b7c8c000001", "parents"=>["565685be7db99b7c8c000001", "#"], "children"=>["5656b6657db99b583e000000"], "children_d"=>["5656b6657db99b583e000000", "5656d4977db99b7ab5000004"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5655221c7db99b66b2000004"}, "a_attr"=>{"href"=>"#", "id"=>"5655221c7db99b66b2000004_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5631e2fb7db99b678d000000", "text"=>"Mobile", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5631e2fb7db99b678d000000"}, "a_attr"=>{"href"=>"/cool", "id"=>"5631e2fb7db99b678d000000_anchor"}, "original"=>"false"}, "info"=>"0"}
1347
+ Completed 200 OK in 32ms (Views: 0.2ms)
@@ -5880,3 +5880,665 @@ Completed 200 OK in 17ms (Views: 0.2ms)
5880
5880
  ----------------------------------------
5881
5881
  MongoidSortableTreeTest: test_0001_truth
5882
5882
  ----------------------------------------
5883
+ --------------------------------------------------------------------
5884
+ MongoidSortableTreeHelperTest::get correct class name: test_0002_nil
5885
+ --------------------------------------------------------------------
5886
+ ---------------------------------------------------------------------------
5887
+ MongoidSortableTreeHelperTest::get correct class name: test_0003_other case
5888
+ ---------------------------------------------------------------------------
5889
+ ---------------------------------------------------------------------------
5890
+ MongoidSortableTreeHelperTest::get correct class name: test_0001_with array
5891
+ ---------------------------------------------------------------------------
5892
+ ------------------------------------------------------------------------------------------------
5893
+ MongoidSortableTreeHelperTest::build html for jstree: test_0001_build_server_tree from all nodes
5894
+ ------------------------------------------------------------------------------------------------
5895
+ ----------------------------------------------------------------------------------------------
5896
+ MongoidSortableTreeHelperTest::build html for jstree: test_0002_build_server_tree from a nodes
5897
+ ----------------------------------------------------------------------------------------------
5898
+ ----------------------------------------
5899
+ MongoidSortableTreeTest: test_0001_truth
5900
+ ----------------------------------------
5901
+ ----------------------------------------------
5902
+ CanCrudTest: test_0001_will have jstree effect
5903
+ ----------------------------------------------
5904
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:00:23 +0800
5905
+ Processing by TagsController#index as HTML
5906
+ Rendered tags/index.html.erb within layouts/application (8.9ms)
5907
+ Completed 200 OK in 356ms (Views: 355.3ms)
5908
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:00:23 +0800
5909
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:00:23 +0800
5910
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:00:24 +0800
5911
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:00:24 +0800
5912
+ ----------------------------------------
5913
+ CanCrudTest: test_0005_can delete a node
5914
+ ----------------------------------------
5915
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:00:25 +0800
5916
+ Processing by TagsController#index as HTML
5917
+ Rendered tags/index.html.erb within layouts/application (6.3ms)
5918
+ Completed 200 OK in 10ms (Views: 9.2ms)
5919
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:00:25 +0800
5920
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:00:25 +0800
5921
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:00:25 +0800
5922
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:00:25 +0800
5923
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:00:26 +0800
5924
+ Processing by TagsController#check as */*
5925
+ Parameters: {"operation"=>"delete_node", "node"=>{"id"=>"5656d8387db99b80b9000019", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656d8387db99b80b9000018", "parents"=>["5656d8387db99b80b9000018", "#"], "children"=>["5656d8387db99b80b900001b"], "children_d"=>["5656d8387db99b80b900001b"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8387db99b80b9000019", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656d8387db99b80b9000019_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656d8387db99b80b9000018", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656d8387db99b80b9000019", "5656d8387db99b80b900001a"], "children_d"=>["5656d8387db99b80b900001b", "5656d8387db99b80b9000019", "5656d8387db99b80b900001a"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8387db99b80b9000018"}, "a_attr"=>{"href"=>"#", "id"=>"5656d8387db99b80b9000018_anchor"}, "original"=>"false"}, "info"=>"0"}
5926
+ Completed 200 OK in 10ms (Views: 0.4ms)
5927
+ --------------------------------------------------
5928
+ CanCrudTest: test_0006_can move a node from A to B
5929
+ --------------------------------------------------
5930
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:00:28 +0800
5931
+ Processing by TagsController#index as HTML
5932
+ Rendered tags/index.html.erb within layouts/application (3.9ms)
5933
+ Completed 200 OK in 7ms (Views: 6.3ms)
5934
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:00:28 +0800
5935
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:00:28 +0800
5936
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:00:28 +0800
5937
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:00:28 +0800
5938
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:00:29 +0800
5939
+ Processing by TagsController#check as */*
5940
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5656d83c7db99b80b900001f", "text"=>"root_child1_children1", "icon"=>"true", "parent"=>"5656d83c7db99b80b900001d", "parents"=>["5656d83c7db99b80b900001d", "5656d83c7db99b80b900001c", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d83c7db99b80b900001f"}, "a_attr"=>{"href"=>"#", "id"=>"5656d83c7db99b80b900001f_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656d83c7db99b80b900001e", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656d83c7db99b80b900001c", "parents"=>["5656d83c7db99b80b900001c", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d83c7db99b80b900001e"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
5941
+ Completed 200 OK in 30ms (Views: 0.3ms)
5942
+ -----------------------------------------------------------
5943
+ CanCrudTest: test_0002_can create a root node by javascript
5944
+ -----------------------------------------------------------
5945
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:00:31 +0800
5946
+ Processing by TagsController#index as HTML
5947
+ Rendered tags/index.html.erb within layouts/application (3.3ms)
5948
+ Completed 200 OK in 6ms (Views: 5.3ms)
5949
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:00:31 +0800
5950
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:00:31 +0800
5951
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:00:32 +0800
5952
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:00:32 +0800
5953
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:00:32 +0800
5954
+ Processing by TagsController#check as */*
5955
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"test_add_root", "id"=>"true"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5656d83f7db99b80b9000020"], "children_d"=>["5656d83f7db99b80b9000020", "5656d83f7db99b80b9000023", "5656d83f7db99b80b9000021", "5656d83f7db99b80b9000022"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"1"}
5956
+ Completed 200 OK in 16ms (Views: 0.5ms)
5957
+ -----------------------------------------------------
5958
+ CanCrudTest: test_0003_can create a node under parent
5959
+ -----------------------------------------------------
5960
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:00:34 +0800
5961
+ Processing by TagsController#index as HTML
5962
+ Rendered tags/index.html.erb within layouts/application (2.6ms)
5963
+ Completed 200 OK in 4ms (Views: 4.2ms)
5964
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:00:34 +0800
5965
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:00:34 +0800
5966
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:00:34 +0800
5967
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:00:34 +0800
5968
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:00:35 +0800
5969
+ Processing by TagsController#check as */*
5970
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"New node", "id"=>"true"}, "node_parent"=>{"id"=>"5656d8427db99b80b9000025", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656d8427db99b80b9000026", "5656d8427db99b80b9000027"], "children_d"=>["5656d8427db99b80b9000028", "5656d8427db99b80b9000026", "5656d8427db99b80b9000027"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8427db99b80b9000025"}, "a_attr"=>{"href"=>"#", "id"=>"5656d8427db99b80b9000025_anchor"}, "original"=>"false"}, "info"=>"2"}
5971
+ Completed 200 OK in 29ms (Views: 0.3ms)
5972
+ ------------------------------------------------------------------------
5973
+ CanCrudTest: test_0007_will update all descendants when move from A to B
5974
+ ------------------------------------------------------------------------
5975
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:00:37 +0800
5976
+ Processing by TagsController#index as HTML
5977
+ Rendered tags/index.html.erb within layouts/application (2.6ms)
5978
+ Completed 200 OK in 4ms (Views: 4.0ms)
5979
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:00:37 +0800
5980
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:00:37 +0800
5981
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:00:37 +0800
5982
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:00:37 +0800
5983
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:00:37 +0800
5984
+ Processing by TagsController#check as */*
5985
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5656d8457db99b80b900002b", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656d8457db99b80b900002a", "parents"=>["5656d8457db99b80b900002a", "#"], "children"=>["5656d8457db99b80b900002d"], "children_d"=>["5656d8457db99b80b900002d"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8457db99b80b900002b", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656d8457db99b80b900002b_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656d8457db99b80b900002c", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656d8457db99b80b900002a", "parents"=>["5656d8457db99b80b900002a", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8457db99b80b900002c"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
5986
+ Completed 200 OK in 30ms (Views: 0.2ms)
5987
+ ----------------------------------------
5988
+ CanCrudTest: test_0004_can rename a node
5989
+ ----------------------------------------
5990
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:00:40 +0800
5991
+ Processing by TagsController#index as HTML
5992
+ Rendered tags/index.html.erb within layouts/application (2.9ms)
5993
+ Completed 200 OK in 5ms (Views: 4.9ms)
5994
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:00:40 +0800
5995
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:00:40 +0800
5996
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:00:40 +0800
5997
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:00:40 +0800
5998
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:00:40 +0800
5999
+ Processing by TagsController#check as */*
6000
+ Parameters: {"operation"=>"rename_node", "node"=>{"id"=>"5656d8477db99b80b900002e", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656d8487db99b80b900002f", "5656d8487db99b80b9000030"], "children_d"=>["5656d8487db99b80b9000031", "5656d8487db99b80b900002f", "5656d8487db99b80b9000030"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8477db99b80b900002e"}, "a_attr"=>{"href"=>"#", "id"=>"5656d8477db99b80b900002e_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5656d8477db99b80b900002e"], "children_d"=>["5656d8477db99b80b900002e", "5656d8487db99b80b9000031", "5656d8487db99b80b900002f", "5656d8487db99b80b9000030"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"root_hello"}
6001
+ Completed 200 OK in 7ms (Views: 0.4ms)
6002
+ --------------------------------------------------
6003
+ CanCrudTest: test_0008_can copy a node from A to B
6004
+ --------------------------------------------------
6005
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:00:43 +0800
6006
+ Processing by TagsController#index as HTML
6007
+ Rendered tags/index.html.erb within layouts/application (2.8ms)
6008
+ Completed 200 OK in 5ms (Views: 4.9ms)
6009
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:00:43 +0800
6010
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:00:43 +0800
6011
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:00:43 +0800
6012
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:00:43 +0800
6013
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:00:44 +0800
6014
+ Processing by TagsController#check as */*
6015
+ Parameters: {"operation"=>"copy_node", "node"=>{"id"=>"5656d84b7db99b80b9000035", "text"=>"root_child1_children1", "icon"=>"true", "parent"=>"5656d84b7db99b80b9000033", "parents"=>["5656d84b7db99b80b9000033", "5656d84b7db99b80b9000032", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d84b7db99b80b9000035"}, "a_attr"=>{"href"=>"#", "id"=>"5656d84b7db99b80b9000035_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656d84b7db99b80b9000034", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656d84b7db99b80b9000032", "parents"=>["5656d84b7db99b80b9000032", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d84b7db99b80b9000034"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6016
+ Completed 200 OK in 20ms (Views: 0.3ms)
6017
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:00:44 +0800
6018
+ Processing by TagsController#index as HTML
6019
+ Rendered tags/index.html.erb within layouts/application (3.1ms)
6020
+ Completed 200 OK in 5ms (Views: 5.0ms)
6021
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:00:44 +0800
6022
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:00:44 +0800
6023
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:00:44 +0800
6024
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:00:44 +0800
6025
+ -----------------------------------------------------------------------------------------------
6026
+ MongoidSortableTreeTest::build materialized path json::from root: test_0002_with params[:klass]
6027
+ -----------------------------------------------------------------------------------------------
6028
+ ---------------------------------------------------------------------------------------
6029
+ MongoidSortableTreeTest::build materialized path json::from root: test_0001_normal case
6030
+ ---------------------------------------------------------------------------------------
6031
+ -----------------------------------------------------------------------------------------
6032
+ MongoidSortableTreeTest::build materialized path json::from a node: test_0001_normal case
6033
+ -----------------------------------------------------------------------------------------
6034
+ -------------------------------------------------------------------------------------------------
6035
+ MongoidSortableTreeTest::build materialized path json::from a node: test_0002_with params[:klass]
6036
+ -------------------------------------------------------------------------------------------------
6037
+ ------------------------------------------------------------------------------------------------
6038
+ MongoidSortableTreeHelperTest::build html for jstree: test_0001_build_server_tree from all nodes
6039
+ ------------------------------------------------------------------------------------------------
6040
+ ----------------------------------------------------------------------------------------------
6041
+ MongoidSortableTreeHelperTest::build html for jstree: test_0002_build_server_tree from a nodes
6042
+ ----------------------------------------------------------------------------------------------
6043
+ ---------------------------------------------------------------------------------------
6044
+ MongoidSortableTreeTest::build materialized path json::from root: test_0001_normal case
6045
+ ---------------------------------------------------------------------------------------
6046
+ -----------------------------------------------------------------------------------------------
6047
+ MongoidSortableTreeTest::build materialized path json::from root: test_0002_with params[:klass]
6048
+ -----------------------------------------------------------------------------------------------
6049
+ ----------------------------------------
6050
+ MongoidSortableTreeTest: test_0001_truth
6051
+ ----------------------------------------
6052
+ ----------------------------------------------
6053
+ CanCrudTest: test_0001_will have jstree effect
6054
+ ----------------------------------------------
6055
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:01:11 +0800
6056
+ Processing by TagsController#index as HTML
6057
+ Rendered tags/index.html.erb within layouts/application (10.4ms)
6058
+ Completed 200 OK in 382ms (Views: 380.9ms)
6059
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:01:11 +0800
6060
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:01:11 +0800
6061
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:01:12 +0800
6062
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:01:12 +0800
6063
+ ------------------------------------------------------------------------
6064
+ CanCrudTest: test_0007_will update all descendants when move from A to B
6065
+ ------------------------------------------------------------------------
6066
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:01:13 +0800
6067
+ Processing by TagsController#index as HTML
6068
+ Rendered tags/index.html.erb within layouts/application (8.7ms)
6069
+ Completed 200 OK in 14ms (Views: 13.4ms)
6070
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:01:13 +0800
6071
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:01:13 +0800
6072
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:01:14 +0800
6073
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:01:14 +0800
6074
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:01:15 +0800
6075
+ Processing by TagsController#check as */*
6076
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5656d8697db99b810e000011", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656d8697db99b810e000010", "parents"=>["5656d8697db99b810e000010", "#"], "children"=>["5656d8697db99b810e000013"], "children_d"=>["5656d8697db99b810e000013"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8697db99b810e000011", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656d8697db99b810e000011_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656d8697db99b810e000012", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656d8697db99b810e000010", "parents"=>["5656d8697db99b810e000010", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8697db99b810e000012"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6077
+ Completed 200 OK in 47ms (Views: 0.4ms)
6078
+ ----------------------------------------
6079
+ CanCrudTest: test_0004_can rename a node
6080
+ ----------------------------------------
6081
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:01:17 +0800
6082
+ Processing by TagsController#index as HTML
6083
+ Rendered tags/index.html.erb within layouts/application (6.8ms)
6084
+ Completed 200 OK in 11ms (Views: 10.5ms)
6085
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:01:17 +0800
6086
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:01:17 +0800
6087
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:01:17 +0800
6088
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:01:17 +0800
6089
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:01:18 +0800
6090
+ Processing by TagsController#check as */*
6091
+ Parameters: {"operation"=>"rename_node", "node"=>{"id"=>"5656d86d7db99b810e000014", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656d86d7db99b810e000015", "5656d86d7db99b810e000016"], "children_d"=>["5656d86d7db99b810e000017", "5656d86d7db99b810e000015", "5656d86d7db99b810e000016"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d86d7db99b810e000014"}, "a_attr"=>{"href"=>"#", "id"=>"5656d86d7db99b810e000014_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5656d86d7db99b810e000014"], "children_d"=>["5656d86d7db99b810e000014", "5656d86d7db99b810e000017", "5656d86d7db99b810e000015", "5656d86d7db99b810e000016"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"root_hello"}
6092
+ Completed 200 OK in 13ms (Views: 0.5ms)
6093
+ ----------------------------------------
6094
+ CanCrudTest: test_0005_can delete a node
6095
+ ----------------------------------------
6096
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:01:21 +0800
6097
+ Processing by TagsController#index as HTML
6098
+ Rendered tags/index.html.erb within layouts/application (4.1ms)
6099
+ Completed 200 OK in 9ms (Views: 8.0ms)
6100
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:01:21 +0800
6101
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:01:21 +0800
6102
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:01:21 +0800
6103
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:01:21 +0800
6104
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:01:22 +0800
6105
+ Processing by TagsController#check as */*
6106
+ Parameters: {"operation"=>"delete_node", "node"=>{"id"=>"5656d8717db99b810e000019", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656d8717db99b810e000018", "parents"=>["5656d8717db99b810e000018", "#"], "children"=>["5656d8717db99b810e00001b"], "children_d"=>["5656d8717db99b810e00001b"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8717db99b810e000019", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656d8717db99b810e000019_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656d8717db99b810e000018", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656d8717db99b810e000019", "5656d8717db99b810e00001a"], "children_d"=>["5656d8717db99b810e00001b", "5656d8717db99b810e000019", "5656d8717db99b810e00001a"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8717db99b810e000018"}, "a_attr"=>{"href"=>"#", "id"=>"5656d8717db99b810e000018_anchor"}, "original"=>"false"}, "info"=>"0"}
6107
+ Completed 200 OK in 10ms (Views: 0.4ms)
6108
+ -----------------------------------------------------
6109
+ CanCrudTest: test_0003_can create a node under parent
6110
+ -----------------------------------------------------
6111
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:01:24 +0800
6112
+ Processing by TagsController#index as HTML
6113
+ Rendered tags/index.html.erb within layouts/application (4.4ms)
6114
+ Completed 200 OK in 9ms (Views: 7.5ms)
6115
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:01:24 +0800
6116
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:01:24 +0800
6117
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:01:24 +0800
6118
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:01:24 +0800
6119
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:01:24 +0800
6120
+ Processing by TagsController#check as */*
6121
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"New node", "id"=>"true"}, "node_parent"=>{"id"=>"5656d8747db99b810e00001c", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656d8747db99b810e00001d", "5656d8747db99b810e00001e"], "children_d"=>["5656d8747db99b810e00001f", "5656d8747db99b810e00001d", "5656d8747db99b810e00001e"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8747db99b810e00001c"}, "a_attr"=>{"href"=>"#", "id"=>"5656d8747db99b810e00001c_anchor"}, "original"=>"false"}, "info"=>"2"}
6122
+ Completed 200 OK in 19ms (Views: 0.2ms)
6123
+ -----------------------------------------------------------
6124
+ CanCrudTest: test_0002_can create a root node by javascript
6125
+ -----------------------------------------------------------
6126
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:01:27 +0800
6127
+ Processing by TagsController#index as HTML
6128
+ Rendered tags/index.html.erb within layouts/application (2.7ms)
6129
+ Completed 200 OK in 5ms (Views: 4.6ms)
6130
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:01:27 +0800
6131
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:01:27 +0800
6132
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:01:27 +0800
6133
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:01:27 +0800
6134
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:01:27 +0800
6135
+ Processing by TagsController#check as */*
6136
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"test_add_root", "id"=>"true"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5656d8777db99b810e000021"], "children_d"=>["5656d8777db99b810e000021", "5656d8777db99b810e000024", "5656d8777db99b810e000022", "5656d8777db99b810e000023"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"1"}
6137
+ Completed 200 OK in 17ms (Views: 0.2ms)
6138
+ --------------------------------------------------
6139
+ CanCrudTest: test_0006_can move a node from A to B
6140
+ --------------------------------------------------
6141
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:01:30 +0800
6142
+ Processing by TagsController#index as HTML
6143
+ Rendered tags/index.html.erb within layouts/application (3.1ms)
6144
+ Completed 200 OK in 7ms (Views: 6.2ms)
6145
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:01:30 +0800
6146
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:01:30 +0800
6147
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:01:30 +0800
6148
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:01:30 +0800
6149
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:01:30 +0800
6150
+ Processing by TagsController#check as */*
6151
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5656d87a7db99b810e000029", "text"=>"root_child1_children1", "icon"=>"true", "parent"=>"5656d8797db99b810e000027", "parents"=>["5656d8797db99b810e000027", "5656d8797db99b810e000026", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d87a7db99b810e000029"}, "a_attr"=>{"href"=>"#", "id"=>"5656d87a7db99b810e000029_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656d8797db99b810e000028", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656d8797db99b810e000026", "parents"=>["5656d8797db99b810e000026", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d8797db99b810e000028"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6152
+ Completed 200 OK in 30ms (Views: 0.3ms)
6153
+ --------------------------------------------------
6154
+ CanCrudTest: test_0008_can copy a node from A to B
6155
+ --------------------------------------------------
6156
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:01:33 +0800
6157
+ Processing by TagsController#index as HTML
6158
+ Rendered tags/index.html.erb within layouts/application (3.9ms)
6159
+ Completed 200 OK in 7ms (Views: 6.7ms)
6160
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:01:33 +0800
6161
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:01:33 +0800
6162
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:01:33 +0800
6163
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:01:33 +0800
6164
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:01:34 +0800
6165
+ Processing by TagsController#check as */*
6166
+ Parameters: {"operation"=>"copy_node", "node"=>{"id"=>"5656d87d7db99b810e00002d", "text"=>"root_child1_children1", "icon"=>"true", "parent"=>"5656d87d7db99b810e00002b", "parents"=>["5656d87d7db99b810e00002b", "5656d87d7db99b810e00002a", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d87d7db99b810e00002d"}, "a_attr"=>{"href"=>"#", "id"=>"5656d87d7db99b810e00002d_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656d87d7db99b810e00002c", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656d87d7db99b810e00002a", "parents"=>["5656d87d7db99b810e00002a", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656d87d7db99b810e00002c"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6167
+ Completed 200 OK in 25ms (Views: 0.7ms)
6168
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:01:34 +0800
6169
+ Processing by TagsController#index as HTML
6170
+ Rendered tags/index.html.erb within layouts/application (4.4ms)
6171
+ Completed 200 OK in 8ms (Views: 7.2ms)
6172
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:01:34 +0800
6173
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:01:34 +0800
6174
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:01:34 +0800
6175
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:01:34 +0800
6176
+ -----------------------------------------------------------------------------------------
6177
+ MongoidSortableTreeTest::build materialized path json::from a node: test_0001_normal case
6178
+ -----------------------------------------------------------------------------------------
6179
+ -------------------------------------------------------------------------------------------------
6180
+ MongoidSortableTreeTest::build materialized path json::from a node: test_0002_with params[:klass]
6181
+ -------------------------------------------------------------------------------------------------
6182
+ ---------------------------------------------------------------------------
6183
+ MongoidSortableTreeHelperTest::get correct class name: test_0003_other case
6184
+ ---------------------------------------------------------------------------
6185
+ --------------------------------------------------------------------
6186
+ MongoidSortableTreeHelperTest::get correct class name: test_0002_nil
6187
+ --------------------------------------------------------------------
6188
+ ---------------------------------------------------------------------------
6189
+ MongoidSortableTreeHelperTest::get correct class name: test_0001_with array
6190
+ ---------------------------------------------------------------------------
6191
+ ---------------------------------------------------------------------------------------
6192
+ MongoidSortableTreeTest::build materialized path json::from root: test_0001_normal case
6193
+ ---------------------------------------------------------------------------------------
6194
+ -----------------------------------------------------------------------------------------------
6195
+ MongoidSortableTreeTest::build materialized path json::from root: test_0002_with params[:klass]
6196
+ -----------------------------------------------------------------------------------------------
6197
+ ------------------------------------------------------------------------------------------------
6198
+ MongoidSortableTreeHelperTest::build html for jstree: test_0001_build_server_tree from all nodes
6199
+ ------------------------------------------------------------------------------------------------
6200
+ ----------------------------------------------------------------------------------------------
6201
+ MongoidSortableTreeHelperTest::build html for jstree: test_0002_build_server_tree from a nodes
6202
+ ----------------------------------------------------------------------------------------------
6203
+ -----------------------------------------------------------------------------------------
6204
+ MongoidSortableTreeTest::build materialized path json::from a node: test_0001_normal case
6205
+ -----------------------------------------------------------------------------------------
6206
+ -------------------------------------------------------------------------------------------------
6207
+ MongoidSortableTreeTest::build materialized path json::from a node: test_0002_with params[:klass]
6208
+ -------------------------------------------------------------------------------------------------
6209
+ ----------------------------------------
6210
+ MongoidSortableTreeTest: test_0001_truth
6211
+ ----------------------------------------
6212
+ ----------------------------------------------
6213
+ CanCrudTest: test_0001_will have jstree effect
6214
+ ----------------------------------------------
6215
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:09:53 +0800
6216
+ Processing by TagsController#index as HTML
6217
+ Rendered tags/index.html.erb within layouts/application (7.3ms)
6218
+ Completed 200 OK in 227ms (Views: 226.6ms)
6219
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:09:53 +0800
6220
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:09:53 +0800
6221
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:09:53 +0800
6222
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:09:53 +0800
6223
+ -----------------------------------------------------------
6224
+ CanCrudTest: test_0002_can create a root node by javascript
6225
+ -----------------------------------------------------------
6226
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:09:54 +0800
6227
+ Processing by TagsController#index as HTML
6228
+ Rendered tags/index.html.erb within layouts/application (4.7ms)
6229
+ Completed 200 OK in 8ms (Views: 7.6ms)
6230
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:09:54 +0800
6231
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:09:54 +0800
6232
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:09:54 +0800
6233
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:09:54 +0800
6234
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:09:55 +0800
6235
+ Processing by TagsController#check as */*
6236
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"test_add_root", "id"=>"true"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5656da727db99b8359000018"], "children_d"=>["5656da727db99b8359000018", "5656da727db99b835900001b", "5656da727db99b8359000019", "5656da727db99b835900001a"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"1"}
6237
+ Completed 200 OK in 25ms (Views: 0.3ms)
6238
+ ----------------------------------------
6239
+ CanCrudTest: test_0005_can delete a node
6240
+ ----------------------------------------
6241
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:09:57 +0800
6242
+ Processing by TagsController#index as HTML
6243
+ Rendered tags/index.html.erb within layouts/application (3.1ms)
6244
+ Completed 200 OK in 5ms (Views: 4.6ms)
6245
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:09:57 +0800
6246
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:09:57 +0800
6247
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:09:57 +0800
6248
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:09:57 +0800
6249
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:09:57 +0800
6250
+ Processing by TagsController#check as */*
6251
+ Parameters: {"operation"=>"delete_node", "node"=>{"id"=>"5656da757db99b835900001e", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656da757db99b835900001d", "parents"=>["5656da757db99b835900001d", "#"], "children"=>["5656da757db99b8359000020"], "children_d"=>["5656da757db99b8359000020"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656da757db99b835900001e", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656da757db99b835900001e_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656da757db99b835900001d", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656da757db99b835900001e", "5656da757db99b835900001f"], "children_d"=>["5656da757db99b8359000020", "5656da757db99b835900001e", "5656da757db99b835900001f"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656da757db99b835900001d"}, "a_attr"=>{"href"=>"#", "id"=>"5656da757db99b835900001d_anchor"}, "original"=>"false"}, "info"=>"0"}
6252
+ Completed 200 OK in 7ms (Views: 0.3ms)
6253
+ -------------------------------------------------------------------------------
6254
+ CanCrudTest: test_0009_will update all descendants when copy a node from A to B
6255
+ -------------------------------------------------------------------------------
6256
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:10:00 +0800
6257
+ Processing by TagsController#index as HTML
6258
+ Rendered tags/index.html.erb within layouts/application (3.9ms)
6259
+ Completed 200 OK in 6ms (Views: 5.9ms)
6260
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:10:00 +0800
6261
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:10:00 +0800
6262
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:10:00 +0800
6263
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:10:00 +0800
6264
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:10:01 +0800
6265
+ Processing by TagsController#check as */*
6266
+ Parameters: {"operation"=>"copy_node", "node"=>{"id"=>"5656da787db99b8359000022", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656da787db99b8359000021", "parents"=>["5656da787db99b8359000021", "#"], "children"=>["5656da787db99b8359000024"], "children_d"=>["5656da787db99b8359000024"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656da787db99b8359000022", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656da787db99b8359000022_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656da787db99b8359000023", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656da787db99b8359000021", "parents"=>["5656da787db99b8359000021", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656da787db99b8359000023"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6267
+ Completed 200 OK in 29ms (Views: 0.2ms)
6268
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:10:01 +0800
6269
+ Processing by TagsController#index as HTML
6270
+ Rendered tags/index.html.erb within layouts/application (3.4ms)
6271
+ Completed 200 OK in 5ms (Views: 5.2ms)
6272
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:10:01 +0800
6273
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:10:01 +0800
6274
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:10:01 +0800
6275
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:10:01 +0800
6276
+ ------------------------------------------------------------------------
6277
+ CanCrudTest: test_0007_will update all descendants when move from A to B
6278
+ ------------------------------------------------------------------------
6279
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:12:26 +0800
6280
+ Processing by TagsController#index as HTML
6281
+ Rendered tags/index.html.erb within layouts/application (3.2ms)
6282
+ Completed 200 OK in 6ms (Views: 6.0ms)
6283
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:12:26 +0800
6284
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:12:26 +0800
6285
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:12:26 +0800
6286
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:12:26 +0800
6287
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:12:27 +0800
6288
+ Processing by TagsController#check as */*
6289
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5656db0a7db99b8359000028", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656db0a7db99b8359000027", "parents"=>["5656db0a7db99b8359000027", "#"], "children"=>["5656db0a7db99b835900002a"], "children_d"=>["5656db0a7db99b835900002a"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db0a7db99b8359000028", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656db0a7db99b8359000028_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656db0a7db99b8359000029", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656db0a7db99b8359000027", "parents"=>["5656db0a7db99b8359000027", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db0a7db99b8359000029"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6290
+ Completed 200 OK in 25ms (Views: 0.2ms)
6291
+ ----------------------------------------
6292
+ CanCrudTest: test_0004_can rename a node
6293
+ ----------------------------------------
6294
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:12:29 +0800
6295
+ Processing by TagsController#index as HTML
6296
+ Rendered tags/index.html.erb within layouts/application (7.8ms)
6297
+ Completed 200 OK in 14ms (Views: 13.3ms)
6298
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:12:29 +0800
6299
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:12:29 +0800
6300
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:12:29 +0800
6301
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:12:29 +0800
6302
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:12:30 +0800
6303
+ Processing by TagsController#check as */*
6304
+ Parameters: {"operation"=>"rename_node", "node"=>{"id"=>"5656db0d7db99b835900002b", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656db0d7db99b835900002c", "5656db0d7db99b835900002d"], "children_d"=>["5656db0d7db99b835900002e", "5656db0d7db99b835900002c", "5656db0d7db99b835900002d"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db0d7db99b835900002b"}, "a_attr"=>{"href"=>"#", "id"=>"5656db0d7db99b835900002b_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5656db0d7db99b835900002b"], "children_d"=>["5656db0d7db99b835900002b", "5656db0d7db99b835900002e", "5656db0d7db99b835900002c", "5656db0d7db99b835900002d"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"root_hello"}
6305
+ Completed 200 OK in 7ms (Views: 0.2ms)
6306
+ -----------------------------------------------------
6307
+ CanCrudTest: test_0003_can create a node under parent
6308
+ -----------------------------------------------------
6309
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:12:32 +0800
6310
+ Processing by TagsController#index as HTML
6311
+ Rendered tags/index.html.erb within layouts/application (2.4ms)
6312
+ Completed 200 OK in 4ms (Views: 3.7ms)
6313
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:12:32 +0800
6314
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:12:32 +0800
6315
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:12:32 +0800
6316
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:12:32 +0800
6317
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:12:33 +0800
6318
+ Processing by TagsController#check as */*
6319
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"New node", "id"=>"true"}, "node_parent"=>{"id"=>"5656db107db99b835900002f", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656db107db99b8359000030", "5656db107db99b8359000031"], "children_d"=>["5656db107db99b8359000032", "5656db107db99b8359000030", "5656db107db99b8359000031"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db107db99b835900002f"}, "a_attr"=>{"href"=>"#", "id"=>"5656db107db99b835900002f_anchor"}, "original"=>"false"}, "info"=>"2"}
6320
+ Completed 200 OK in 16ms (Views: 0.4ms)
6321
+ --------------------------------------------------
6322
+ CanCrudTest: test_0008_can copy a node from A to B
6323
+ --------------------------------------------------
6324
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:12:35 +0800
6325
+ Processing by TagsController#index as HTML
6326
+ Rendered tags/index.html.erb within layouts/application (2.6ms)
6327
+ Completed 200 OK in 4ms (Views: 4.1ms)
6328
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:12:35 +0800
6329
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:12:35 +0800
6330
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:12:35 +0800
6331
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:12:35 +0800
6332
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:12:36 +0800
6333
+ Processing by TagsController#check as */*
6334
+ Parameters: {"operation"=>"copy_node", "node"=>{"id"=>"5656db137db99b8359000037", "text"=>"root_child1_children1", "icon"=>"true", "parent"=>"5656db137db99b8359000035", "parents"=>["5656db137db99b8359000035", "5656db137db99b8359000034", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db137db99b8359000037"}, "a_attr"=>{"href"=>"#", "id"=>"5656db137db99b8359000037_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656db137db99b8359000036", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656db137db99b8359000034", "parents"=>["5656db137db99b8359000034", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db137db99b8359000036"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6335
+ Completed 200 OK in 18ms (Views: 0.3ms)
6336
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:12:36 +0800
6337
+ Processing by TagsController#index as HTML
6338
+ Rendered tags/index.html.erb within layouts/application (2.8ms)
6339
+ Completed 200 OK in 5ms (Views: 4.4ms)
6340
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:12:36 +0800
6341
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:12:36 +0800
6342
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:12:36 +0800
6343
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:12:36 +0800
6344
+ --------------------------------------------------
6345
+ CanCrudTest: test_0006_can move a node from A to B
6346
+ --------------------------------------------------
6347
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:12:38 +0800
6348
+ Processing by TagsController#index as HTML
6349
+ Rendered tags/index.html.erb within layouts/application (2.5ms)
6350
+ Completed 200 OK in 4ms (Views: 3.8ms)
6351
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:12:38 +0800
6352
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:12:38 +0800
6353
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:12:38 +0800
6354
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:12:38 +0800
6355
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:12:39 +0800
6356
+ Processing by TagsController#check as */*
6357
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5656db167db99b835900003c", "text"=>"root_child1_children1", "icon"=>"true", "parent"=>"5656db167db99b835900003a", "parents"=>["5656db167db99b835900003a", "5656db167db99b8359000039", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db167db99b835900003c"}, "a_attr"=>{"href"=>"#", "id"=>"5656db167db99b835900003c_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656db167db99b835900003b", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656db167db99b8359000039", "parents"=>["5656db167db99b8359000039", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db167db99b835900003b"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6358
+ Completed 200 OK in 20ms (Views: 0.2ms)
6359
+ ---------------------------------------------------------------------------
6360
+ MongoidSortableTreeHelperTest::get correct class name: test_0001_with array
6361
+ ---------------------------------------------------------------------------
6362
+ --------------------------------------------------------------------
6363
+ MongoidSortableTreeHelperTest::get correct class name: test_0002_nil
6364
+ --------------------------------------------------------------------
6365
+ ---------------------------------------------------------------------------
6366
+ MongoidSortableTreeHelperTest::get correct class name: test_0003_other case
6367
+ ---------------------------------------------------------------------------
6368
+ -----------------------------------------------------------
6369
+ CanCrudTest: test_0002_can create a root node by javascript
6370
+ -----------------------------------------------------------
6371
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:12:56 +0800
6372
+ Processing by TagsController#index as HTML
6373
+ Rendered tags/index.html.erb within layouts/application (5.9ms)
6374
+ Completed 200 OK in 220ms (Views: 218.9ms)
6375
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:12:56 +0800
6376
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:12:56 +0800
6377
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:12:56 +0800
6378
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:12:56 +0800
6379
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:12:57 +0800
6380
+ Processing by TagsController#check as */*
6381
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"test_add_root", "id"=>"true"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5656db247db99b8430000000"], "children_d"=>["5656db247db99b8430000000", "5656db247db99b8430000003", "5656db247db99b8430000001", "5656db247db99b8430000002"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"1"}
6382
+ Completed 200 OK in 22ms (Views: 0.3ms)
6383
+ ------------------------------------------------------------------------
6384
+ CanCrudTest: test_0007_will update all descendants when move from A to B
6385
+ ------------------------------------------------------------------------
6386
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:12:59 +0800
6387
+ Processing by TagsController#index as HTML
6388
+ Rendered tags/index.html.erb within layouts/application (5.3ms)
6389
+ Completed 200 OK in 10ms (Views: 9.1ms)
6390
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:12:59 +0800
6391
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:12:59 +0800
6392
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:12:59 +0800
6393
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:12:59 +0800
6394
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:13:00 +0800
6395
+ Processing by TagsController#check as */*
6396
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5656db2b7db99b8430000006", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656db2b7db99b8430000005", "parents"=>["5656db2b7db99b8430000005", "#"], "children"=>["5656db2b7db99b8430000008"], "children_d"=>["5656db2b7db99b8430000008"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db2b7db99b8430000006", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656db2b7db99b8430000006_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656db2b7db99b8430000007", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656db2b7db99b8430000005", "parents"=>["5656db2b7db99b8430000005", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db2b7db99b8430000007"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6397
+ Completed 200 OK in 31ms (Views: 0.2ms)
6398
+ --------------------------------------------------
6399
+ CanCrudTest: test_0008_can copy a node from A to B
6400
+ --------------------------------------------------
6401
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:13:02 +0800
6402
+ Processing by TagsController#index as HTML
6403
+ Rendered tags/index.html.erb within layouts/application (3.6ms)
6404
+ Completed 200 OK in 6ms (Views: 5.7ms)
6405
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:13:02 +0800
6406
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:13:02 +0800
6407
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:13:02 +0800
6408
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:13:02 +0800
6409
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:13:04 +0800
6410
+ Processing by TagsController#check as */*
6411
+ Parameters: {"operation"=>"copy_node", "node"=>{"id"=>"5656db2e7db99b843000000c", "text"=>"root_child1_children1", "icon"=>"true", "parent"=>"5656db2e7db99b843000000a", "parents"=>["5656db2e7db99b843000000a", "5656db2e7db99b8430000009", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db2e7db99b843000000c"}, "a_attr"=>{"href"=>"#", "id"=>"5656db2e7db99b843000000c_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656db2e7db99b843000000b", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656db2e7db99b8430000009", "parents"=>["5656db2e7db99b8430000009", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db2e7db99b843000000b"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6412
+ Completed 200 OK in 23ms (Views: 0.3ms)
6413
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:13:04 +0800
6414
+ Processing by TagsController#index as HTML
6415
+ Rendered tags/index.html.erb within layouts/application (3.3ms)
6416
+ Completed 200 OK in 6ms (Views: 5.8ms)
6417
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:13:04 +0800
6418
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:13:04 +0800
6419
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:13:04 +0800
6420
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:13:04 +0800
6421
+ ----------------------------------------
6422
+ CanCrudTest: test_0004_can rename a node
6423
+ ----------------------------------------
6424
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:13:06 +0800
6425
+ Processing by TagsController#index as HTML
6426
+ Rendered tags/index.html.erb within layouts/application (3.9ms)
6427
+ Completed 200 OK in 7ms (Views: 6.9ms)
6428
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:13:06 +0800
6429
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:13:06 +0800
6430
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:13:06 +0800
6431
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:13:06 +0800
6432
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:13:07 +0800
6433
+ Processing by TagsController#check as */*
6434
+ Parameters: {"operation"=>"rename_node", "node"=>{"id"=>"5656db327db99b843000000e", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656db327db99b843000000f", "5656db327db99b8430000010"], "children_d"=>["5656db327db99b8430000011", "5656db327db99b843000000f", "5656db327db99b8430000010"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db327db99b843000000e"}, "a_attr"=>{"href"=>"#", "id"=>"5656db327db99b843000000e_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"#", "parent"=>"", "children"=>["5656db327db99b843000000e"], "children_d"=>["5656db327db99b843000000e", "5656db327db99b8430000011", "5656db327db99b843000000f", "5656db327db99b8430000010"], "state"=>{"loaded"=>"true", "failed"=>"false", "loading"=>"false"}}, "info"=>"root_hello"}
6435
+ Completed 200 OK in 9ms (Views: 0.3ms)
6436
+ -------------------------------------------------------------------------------
6437
+ CanCrudTest: test_0009_will update all descendants when copy a node from A to B
6438
+ -------------------------------------------------------------------------------
6439
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:13:09 +0800
6440
+ Processing by TagsController#index as HTML
6441
+ Rendered tags/index.html.erb within layouts/application (3.6ms)
6442
+ Completed 200 OK in 6ms (Views: 5.6ms)
6443
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:13:09 +0800
6444
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:13:10 +0800
6445
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:13:10 +0800
6446
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:13:10 +0800
6447
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:13:11 +0800
6448
+ Processing by TagsController#check as */*
6449
+ Parameters: {"operation"=>"copy_node", "node"=>{"id"=>"5656db357db99b8430000013", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656db357db99b8430000012", "parents"=>["5656db357db99b8430000012", "#"], "children"=>["5656db357db99b8430000015"], "children_d"=>["5656db357db99b8430000015"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db357db99b8430000013", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656db357db99b8430000013_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656db357db99b8430000014", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656db357db99b8430000012", "parents"=>["5656db357db99b8430000012", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db357db99b8430000014"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6450
+ Completed 200 OK in 97ms (Views: 0.5ms)
6451
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:13:11 +0800
6452
+ Processing by TagsController#index as HTML
6453
+ Rendered tags/index.html.erb within layouts/application (5.5ms)
6454
+ Completed 200 OK in 9ms (Views: 8.3ms)
6455
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:13:11 +0800
6456
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:13:11 +0800
6457
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:13:11 +0800
6458
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:13:11 +0800
6459
+ --------------------------------------------------
6460
+ CanCrudTest: test_0006_can move a node from A to B
6461
+ --------------------------------------------------
6462
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:13:13 +0800
6463
+ Processing by TagsController#index as HTML
6464
+ Rendered tags/index.html.erb within layouts/application (3.2ms)
6465
+ Completed 200 OK in 6ms (Views: 5.5ms)
6466
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:13:13 +0800
6467
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:13:13 +0800
6468
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:13:13 +0800
6469
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:13:13 +0800
6470
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:13:14 +0800
6471
+ Processing by TagsController#check as */*
6472
+ Parameters: {"operation"=>"move_node", "node"=>{"id"=>"5656db397db99b843000001b", "text"=>"root_child1_children1", "icon"=>"true", "parent"=>"5656db397db99b8430000019", "parents"=>["5656db397db99b8430000019", "5656db397db99b8430000018", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db397db99b843000001b"}, "a_attr"=>{"href"=>"#", "id"=>"5656db397db99b843000001b_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656db397db99b843000001a", "text"=>"root_child2", "icon"=>"true", "parent"=>"5656db397db99b8430000018", "parents"=>["5656db397db99b8430000018", "#"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db397db99b843000001a"}, "a_attr"=>{"href"=>"#", "id"=>"hello"}, "original"=>"false"}, "info"=>"0"}
6473
+ Completed 200 OK in 26ms (Views: 0.3ms)
6474
+ ----------------------------------------
6475
+ CanCrudTest: test_0005_can delete a node
6476
+ ----------------------------------------
6477
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:13:17 +0800
6478
+ Processing by TagsController#index as HTML
6479
+ Rendered tags/index.html.erb within layouts/application (5.5ms)
6480
+ Completed 200 OK in 10ms (Views: 9.6ms)
6481
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:13:17 +0800
6482
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:13:17 +0800
6483
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:13:17 +0800
6484
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:13:17 +0800
6485
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:13:17 +0800
6486
+ Processing by TagsController#check as */*
6487
+ Parameters: {"operation"=>"delete_node", "node"=>{"id"=>"5656db3c7db99b843000001d", "text"=>"root_child1", "icon"=>"true", "parent"=>"5656db3c7db99b843000001c", "parents"=>["5656db3c7db99b843000001c", "#"], "children"=>["5656db3c7db99b843000001f"], "children_d"=>["5656db3c7db99b843000001f"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db3c7db99b843000001d", "class"=>"hello"}, "a_attr"=>{"href"=>"#", "id"=>"5656db3c7db99b843000001d_anchor"}, "original"=>"false"}, "node_parent"=>{"id"=>"5656db3c7db99b843000001c", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656db3c7db99b843000001d", "5656db3c7db99b843000001e"], "children_d"=>["5656db3c7db99b843000001f", "5656db3c7db99b843000001d", "5656db3c7db99b843000001e"], "state"=>{"loaded"=>"true", "opened"=>"true", "selected"=>"false", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db3c7db99b843000001c"}, "a_attr"=>{"href"=>"#", "id"=>"5656db3c7db99b843000001c_anchor"}, "original"=>"false"}, "info"=>"0"}
6488
+ Completed 200 OK in 9ms (Views: 0.5ms)
6489
+ ----------------------------------------------
6490
+ CanCrudTest: test_0001_will have jstree effect
6491
+ ----------------------------------------------
6492
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:13:20 +0800
6493
+ Processing by TagsController#index as HTML
6494
+ Rendered tags/index.html.erb within layouts/application (3.3ms)
6495
+ Completed 200 OK in 6ms (Views: 5.6ms)
6496
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:13:20 +0800
6497
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:13:20 +0800
6498
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:13:20 +0800
6499
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:13:20 +0800
6500
+ -----------------------------------------------------
6501
+ CanCrudTest: test_0003_can create a node under parent
6502
+ -----------------------------------------------------
6503
+ Started GET "/tags" for 127.0.0.1 at 2015-11-26 18:13:21 +0800
6504
+ Processing by TagsController#index as HTML
6505
+ Rendered tags/index.html.erb within layouts/application (7.6ms)
6506
+ Completed 200 OK in 13ms (Views: 11.9ms)
6507
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-11-26 18:13:21 +0800
6508
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-11-26 18:13:21 +0800
6509
+ Started GET "/assets/default/throbber.gif" for 127.0.0.1 at 2015-11-26 18:13:21 +0800
6510
+ Started GET "/assets/default/32px.png" for 127.0.0.1 at 2015-11-26 18:13:21 +0800
6511
+ Started POST "/tags/check" for 127.0.0.1 at 2015-11-26 18:13:21 +0800
6512
+ Processing by TagsController#check as */*
6513
+ Parameters: {"operation"=>"create_node", "node"=>{"text"=>"New node", "id"=>"true"}, "node_parent"=>{"id"=>"5656db417db99b8430000024", "text"=>"root", "icon"=>"true", "parent"=>"#", "parents"=>["#"], "children"=>["5656db417db99b8430000025", "5656db417db99b8430000026"], "children_d"=>["5656db417db99b8430000027", "5656db417db99b8430000025", "5656db417db99b8430000026"], "state"=>{"loaded"=>"true", "opened"=>"false", "selected"=>"true", "disabled"=>"false"}, "li_attr"=>{"id"=>"5656db417db99b8430000024"}, "a_attr"=>{"href"=>"#", "id"=>"5656db417db99b8430000024_anchor"}, "original"=>"false"}, "info"=>"2"}
6514
+ Completed 200 OK in 28ms (Views: 0.6ms)
6515
+ ----------------------------------------
6516
+ MongoidSortableTreeTest: test_0001_truth
6517
+ ----------------------------------------
6518
+ ------------------------------------------------------------------------------------------------
6519
+ MongoidSortableTreeHelperTest::build html for jstree: test_0001_build_server_tree from all nodes
6520
+ ------------------------------------------------------------------------------------------------
6521
+ ----------------------------------------------------------------------------------------------
6522
+ MongoidSortableTreeHelperTest::build html for jstree: test_0002_build_server_tree from a nodes
6523
+ ----------------------------------------------------------------------------------------------
6524
+ ---------------------------------------------------------------------------------------
6525
+ MongoidSortableTreeTest::build materialized path json::from root: test_0001_normal case
6526
+ ---------------------------------------------------------------------------------------
6527
+ -----------------------------------------------------------------------------------------------
6528
+ MongoidSortableTreeTest::build materialized path json::from root: test_0002_with params[:klass]
6529
+ -----------------------------------------------------------------------------------------------
6530
+ -----------------------------------------------------------------------------------------
6531
+ MongoidSortableTreeTest::build materialized path json::from a node: test_0001_normal case
6532
+ -----------------------------------------------------------------------------------------
6533
+ -------------------------------------------------------------------------------------------------
6534
+ MongoidSortableTreeTest::build materialized path json::from a node: test_0002_with params[:klass]
6535
+ -------------------------------------------------------------------------------------------------
6536
+ ---------------------------------------------------------------------------
6537
+ MongoidSortableTreeHelperTest::get correct class name: test_0001_with array
6538
+ ---------------------------------------------------------------------------
6539
+ --------------------------------------------------------------------
6540
+ MongoidSortableTreeHelperTest::get correct class name: test_0002_nil
6541
+ --------------------------------------------------------------------
6542
+ ---------------------------------------------------------------------------
6543
+ MongoidSortableTreeHelperTest::get correct class name: test_0003_other case
6544
+ ---------------------------------------------------------------------------