groonga-client-model 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +13 -0
  3. data/lib/groonga-client-model.rb +1 -0
  4. data/lib/groonga_client_model/attribute_assignment.rb +34 -0
  5. data/lib/groonga_client_model/client.rb +1 -1
  6. data/lib/groonga_client_model/record.rb +37 -16
  7. data/lib/groonga_client_model/version.rb +1 -1
  8. data/test/apps/rails4/Gemfile +55 -0
  9. data/test/apps/rails4/Gemfile.lock +206 -0
  10. data/test/apps/rails4/README.md +24 -0
  11. data/test/apps/rails4/Rakefile +6 -0
  12. data/test/apps/rails4/app/assets/config/manifest.js +3 -0
  13. data/test/apps/rails4/app/assets/javascripts/application.js +16 -0
  14. data/test/apps/rails4/app/assets/javascripts/cable.js +13 -0
  15. data/test/apps/rails4/app/assets/javascripts/posts.coffee +3 -0
  16. data/test/apps/rails4/app/assets/stylesheets/application.css +15 -0
  17. data/test/apps/rails4/app/assets/stylesheets/posts.scss +3 -0
  18. data/test/apps/rails4/app/assets/stylesheets/scaffolds.scss +89 -0
  19. data/test/apps/rails4/app/channels/application_cable/channel.rb +4 -0
  20. data/test/apps/rails4/app/channels/application_cable/connection.rb +4 -0
  21. data/test/apps/rails4/app/controllers/application_controller.rb +3 -0
  22. data/test/apps/rails4/app/controllers/posts_controller.rb +74 -0
  23. data/test/apps/rails4/app/helpers/application_helper.rb +2 -0
  24. data/test/apps/rails4/app/helpers/posts_helper.rb +2 -0
  25. data/test/apps/rails4/app/jobs/application_job.rb +2 -0
  26. data/test/apps/rails4/app/mailers/application_mailer.rb +4 -0
  27. data/test/apps/rails4/app/models/post.rb +2 -0
  28. data/test/apps/rails4/app/views/layouts/application.html.erb +14 -0
  29. data/test/apps/rails4/app/views/layouts/mailer.html.erb +13 -0
  30. data/test/apps/rails4/app/views/layouts/mailer.text.erb +1 -0
  31. data/test/apps/rails4/app/views/posts/_form.html.erb +27 -0
  32. data/test/apps/rails4/app/views/posts/_post.json.jbuilder +2 -0
  33. data/test/apps/rails4/app/views/posts/edit.html.erb +6 -0
  34. data/test/apps/rails4/app/views/posts/index.html.erb +29 -0
  35. data/test/apps/rails4/app/views/posts/index.json.jbuilder +1 -0
  36. data/test/apps/rails4/app/views/posts/new.html.erb +5 -0
  37. data/test/apps/rails4/app/views/posts/show.html.erb +14 -0
  38. data/test/apps/rails4/app/views/posts/show.json.jbuilder +1 -0
  39. data/test/apps/rails4/bin/bundle +3 -0
  40. data/test/apps/rails4/bin/rails +9 -0
  41. data/test/apps/rails4/bin/rake +9 -0
  42. data/test/apps/rails4/bin/setup +34 -0
  43. data/test/apps/rails4/bin/spring +16 -0
  44. data/test/apps/rails4/bin/update +29 -0
  45. data/test/apps/rails4/config/application.rb +25 -0
  46. data/test/apps/rails4/config/boot.rb +3 -0
  47. data/test/apps/rails4/config/cable.yml +9 -0
  48. data/test/apps/rails4/config/environment.rb +5 -0
  49. data/test/apps/rails4/config/environments/development.rb +51 -0
  50. data/test/apps/rails4/config/environments/production.rb +83 -0
  51. data/test/apps/rails4/config/environments/test.rb +42 -0
  52. data/test/apps/rails4/config/groonga.yml +8 -0
  53. data/test/apps/rails4/config/initializers/application_controller_renderer.rb +6 -0
  54. data/test/apps/rails4/config/initializers/assets.rb +11 -0
  55. data/test/apps/rails4/config/initializers/backtrace_silencers.rb +7 -0
  56. data/test/apps/rails4/config/initializers/cookies_serializer.rb +5 -0
  57. data/test/apps/rails4/config/initializers/filter_parameter_logging.rb +4 -0
  58. data/test/apps/rails4/config/initializers/inflections.rb +16 -0
  59. data/test/apps/rails4/config/initializers/mime_types.rb +4 -0
  60. data/test/apps/rails4/config/initializers/new_framework_defaults.rb +21 -0
  61. data/test/apps/rails4/config/initializers/session_store.rb +3 -0
  62. data/test/apps/rails4/config/initializers/wrap_parameters.rb +9 -0
  63. data/test/apps/rails4/config/locales/en.yml +23 -0
  64. data/test/apps/rails4/config/puma.rb +47 -0
  65. data/test/apps/rails4/config/routes.rb +4 -0
  66. data/test/apps/rails4/config/secrets.yml +22 -0
  67. data/test/apps/rails4/config/spring.rb +6 -0
  68. data/test/apps/rails4/config.ru +5 -0
  69. data/test/apps/rails4/db/schema.grn +9 -0
  70. data/test/apps/rails4/db/seeds.rb +7 -0
  71. data/test/apps/rails4/log/development.log +0 -0
  72. data/test/apps/rails4/log/test.log +207 -0
  73. data/test/apps/rails4/public/404.html +67 -0
  74. data/test/apps/rails4/public/422.html +67 -0
  75. data/test/apps/rails4/public/500.html +66 -0
  76. data/test/apps/rails4/public/apple-touch-icon-precomposed.png +0 -0
  77. data/test/apps/rails4/public/apple-touch-icon.png +0 -0
  78. data/test/apps/rails4/public/favicon.ico +0 -0
  79. data/test/apps/rails4/public/robots.txt +5 -0
  80. data/test/apps/rails4/test/controllers/posts_controller_test.rb +50 -0
  81. data/test/apps/rails4/test/factories/posts.rb +6 -0
  82. data/test/apps/rails4/test/test_helper.rb +9 -0
  83. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/0I/0Ihy3SE8nTe---ZtfB9WjKd6UOgmtLFlyhbw1R2BDFs.cache +1 -0
  84. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/0M/0M4bZ4tQh0MQYZMb72U5yr-ELStAsUSb8akkTME9TPM.cache +3 -0
  85. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/0g/0gB1rYz79RuAa43DzVci1GUjc5so0F1dU_LyLSmm3oQ.cache +3 -0
  86. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/17/17ACx-zXgzaAZBriGH5oeRJJ9hMIlwP9bWBPlEMoY-0.cache +1 -0
  87. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/6a/6ae9A4LxsOF8WxXqTRrY_OfmiKLzuX-k8CdxcYhyH2w.cache +3 -0
  88. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/6r/6rrJLZY0-_gdJxgMUZBZIn-wf8bPVArYjXhIIrt_O5Y.cache +1 -0
  89. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/8Z/8Zm1d9-lBPsGG_HUw8FP2OCCVucGDVhWAOGaopvOdss.cache +3 -0
  90. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/8d/8dPRKWI4by88Sxw2Ybxs2Y3jz-1b6FQAc1e3i1ve5go.cache +0 -0
  91. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/8i/8iQwPHnNGnDGUJBtgrVMB7FceEuaXnCBF1671S9jJgo.cache +1 -0
  92. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/B6/B6nLb8yGukrJQUpa3aPtLwrmBPnh2_8ZFkSTc5T8c0k.cache +1 -0
  93. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Bh/BhBHwSo9EwfIYTDkA21FIndZkPsZ28CYARi4iBDw608.cache +1 -0
  94. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Bj/BjttQ669rtLFSU4Oq7YxTtumvpgsHKREjOND3HIVJx8.cache +0 -0
  95. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +2 -0
  96. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/C3/C3hMQl1ywl9gQ3OFdiiVc8l1y2gP7GWN37t9DDEaoy4.cache +1 -0
  97. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/FT/FTiuNlnEJN59jNEEgEfQazsLhj_YTdIQnCuFC2EM7qw.cache +1 -0
  98. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/JX/JXqwLmb9hlO9nmp2kJYEcKaKy9RMO-HxwnptsiVAADc.cache +1 -0
  99. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/K9/K9G8c-hzp4a8xRtPMnSQf6bsziHMznJz-OvHDz7w3rE.cache +0 -0
  100. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kq/KqsxRPBMXWQubUa9Ab4tmgT4j4DM5-A89_rh15MNlmI.cache +0 -0
  101. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kz/KznX4kBl2yjCE-XZL5bNAJ0xXrLVL6nJEJWMYLY3X7I.cache +1 -0
  102. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/N1/N1cFx1cQirDbaPCgGKbLjIcxsOM8ODiP98PZWSHDzyE.cache +0 -0
  103. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/QH/QHW6bVAXmJeybTQiApxxYej1wQkNigo-KRbnXDwd1Mk.cache +1 -0
  104. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/R7/R7bSW7yrMkNVznGUpcDS6MXM3ZziGA7RrQGogNiuVTA.cache +1 -0
  105. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/RH/RHIJ8umE9bWwt5xXi8SJ4RYpZqFvt88JBVNo4lTPg0U.cache +1 -0
  106. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Rt/Rtg9DogJyyU6DIW9gV2GCVTWMF0GYLevAVNvv3bEDeI.cache +1 -0
  107. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Ru/Ru1MOhJ8ZzL7pBzPr_QeTTd0LnfWx4DcM0iVcL4cTzo.cache +2 -0
  108. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/S3/S3OZbpxIypECjqQj77Gb9Oc6A-q0U1fKpzMbPVMoubk.cache +1 -0
  109. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Si/Sin6bEoASrNa45108CpfgF2jcifz-KpbsvvZJtqVZ68.cache +3 -0
  110. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/VQ/VQNk5aqOyF22mFE5NhdDjfBZeFpSfgaaZdyngvHYi48.cache +1 -0
  111. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Vw/Vwgy4zAZLGHF9RslYQ40wbF7NYW47NDE0wcA7T3HwxI.cache +1 -0
  112. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/W9/W9OEjda3McVaqzRMNGzY4zMzGFKwy-JYer2dt7dxRjQ.cache +1 -0
  113. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/XJ/XJRPx7aZ4ajZ72O37hx53ZFkfXSHpDDpCy78LI0leqM.cache +1 -0
  114. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +2 -0
  115. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Zs/Zs96XWLbB-Sp-R9P31ArcdU7j6VL_RBI-SwpwTE_TZA.cache +0 -0
  116. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Zv/ZvCEW2ZyS-k4cHH7Gd8P2nKFE9Uh1VOrfR-1PYY2yz8.cache +5 -0
  117. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/a5/a5Ai9QXaiRRSN7BXZZ3eZSL8mbwrdOKNM9Hco1Bp498.cache +1 -0
  118. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/aa/aaHS7n54GBP_AiELufudftqA7C4tZhFBH9VGYdybJr8.cache +2 -0
  119. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/bM/bMMUbhA2nFZ9dHAnzKZsPzKVcv-UlAWaVq92COmAHwI.cache +0 -0
  120. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/cc/ccFbs28DWObwrW_wnGA4cU9RmsKrBzb5xDaMu1-5QOo.cache +1 -0
  121. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/d8/d80_M7rvPV-A1sCjIEhieR5jS353S0hCykiWL6Qoy7Q.cache +3 -0
  122. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/do/doMYM14rQvSD5lPwCGe0ULzbXBwyBM-f1jOE0MzmEs4.cache +1 -0
  123. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/eA/eA_fQgrHsn-vD9XeNQyC8335oMP8k0cnmerzHzjEwLQ.cache +0 -0
  124. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/eQ/eQxzX_D16-XyOt1WTkYEC0qDvRbjXcCgQgnd9pBrg7o.cache +1 -0
  125. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/gl/glrAgaE6JUHFNGuQsy5qakLJ2Sjmq-O09QX7cJklxP4.cache +0 -0
  126. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/jt/jtP0R1pGResPYdA6O4Ph5x0W0T1If9yb0sRFijAemLY.cache +0 -0
  127. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/kz/kzw210ITXFWNFV8kw5e-_kRlpS48lGotSQWKPlUfMJ4.cache +3 -0
  128. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/mA/mAWsnX7Peh_B8DPSBTB4f9Yr4LFtZwOf5prl05GZY3g.cache +0 -0
  129. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/mX/mXbxFiGMdcA3j1srHRMPEBxhXw8udKgsNtXk6_Zl5ts.cache +1 -0
  130. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
  131. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/nf/nfIObnkUaxVC6zkWxRI2Mzau2JKMWf2ii3dr0Q0IvNk.cache +1 -0
  132. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
  133. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/rF/rF2vahiCQKUhJ8McEG0p8B7csWsz-dL13EQ7r2APOxc.cache +1 -0
  134. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/tH/tHi6ifML6NOeHhumbOb5hc1QFREX-LhACtiUhS54YPQ.cache +1 -0
  135. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/u3/u3DEuOZf5FZ_vumprxhkeIsi2jzeDJRxtjYbqNJ13wQ.cache +0 -0
  136. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/u_/u_yfB9bAyTK1suTw3FxVxx4Lv0U31dIL1G0uX9R9byU.cache +0 -0
  137. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/vH/vHuuPjMkmfpQ2eqHofMJprX6McDX-BRf-OZLe-Zy0uM.cache +0 -0
  138. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/wq/wqEwEzqpIhD5Ie3bMy9VSp3TZI4lqTUROqfAYdpO83g.cache +1 -0
  139. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +2 -0
  140. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/yO/yO6BxW_KpdFMPjQgywUZXxLvdVM639GnboZKUb3K7kA.cache +1 -0
  141. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/yZ/yZz4rIdiAxAUWJ7Io7t9ZdVN8fjEjgzn8MfNKrBdIR0.cache +1 -0
  142. data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/zQ/zQ9ej9LKS_XIns0yfDEKXZaCGO7n1sA2dRjIsPO9Krg.cache +1 -0
  143. data/test/apps/rails5/Gemfile.lock +37 -37
  144. data/test/apps/rails5/config/groonga.yml +1 -1
  145. data/test/apps/rails5/log/test.log +304 -0
  146. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/0s/0s0CsN3A9OzlsSdxdmQ8dowd6eB6pf89sskfcRwvj5U.cache +1 -0
  147. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/30/30KT5QAalVCZ4YvGLiiqiwP8Nqarv9udTdHtvrO1tyY.cache +1 -0
  148. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/3V/3VDW3Icf6dS8Wm81X2o6wpM2X_XBbxJ1GXVAmLMPkmQ.cache +1 -0
  149. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/4N/4NSeDEGAGtTIlzShWYtQoKzyH2QCRAO29qbgVDm9EHc.cache +0 -0
  150. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/7P/7PLLteF-xRpzxWZ5mfsgpvDtMftNnVQTuilTHNhuDNw.cache +1 -0
  151. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/8Z/8Zm1d9-lBPsGG_HUw8FP2OCCVucGDVhWAOGaopvOdss.cache +0 -0
  152. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/9i/9itFsz5eUi8gqKJUF2kc_ZCs0yTbyTRsy6vKnuT4abo.cache +1 -0
  153. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/9y/9yohFvm-NgNxUQFrNQBmjkAxlx8hn7PQL1ouGd4yuf0.cache +0 -0
  154. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/AD/ADg2PwebqPG6ZRaIo793X-ZEq_cUTncVCjXDyA2izhM.cache +0 -0
  155. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Bg/Bgg_bbbuLxSs2CjZirqEYC2JoUYuJfAoozk2TvlgNI8.cache +1 -0
  156. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +0 -0
  157. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Ea/EaVyDKPRPVHf6wyOvkuC5lEVTUz2zUxP1e-OZPomAco.cache +1 -0
  158. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Gn/Gn4-OV-Ub-1WU1rfSESegkd5Mms4fD9YNzpLf0-_yIc.cache +1 -0
  159. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/HC/HCkUr7-RfXS_VnsyAI9lZXpDZQUtsb2Kzqw--oBwgDU.cache +1 -0
  160. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Hv/HvIE7Q-Grd2gs_C3I_njPrdpyA1ioXimnKlJ4o1F3kE.cache +1 -0
  161. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Jj/JjD2HFU-vCk0D_SH68tmIVObhruQFXaE9Kk0IERK3V4.cache +0 -0
  162. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Jv/JvtMzKIbNrhefiinEmmIElZwtpRqTONm4tpiKnqPTcs.cache +0 -0
  163. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Kj/KjRyQjQD7AxkE5EaRozI7wI97Iof2F3CwmUMPLpECNE.cache +0 -0
  164. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Lc/LcPT1gtyFWe7MSPy-gJCDXZAwWStOk9GxGM77JARVzc.cache +0 -0
  165. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Lh/LhyvxY5uggGRDtBr5Oh5yXF5Hqhw1P-jwI3t-WALBtA.cache +0 -0
  166. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/MO/MO4HmeMSIc2bqrVptzZUc-NLW1zuvOH8d3qWtEpD_yQ.cache +0 -0
  167. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Om/OmZUvZCK4Ba1-rUY9PMDdsUQeaK5uKRm4rHVxfET6uQ.cache +1 -0
  168. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/PG/PG8sM7Hi4hVGDvUPiuaRngLWMiZdxIgb0YXjj4iH-5A.cache +1 -0
  169. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Pv/Pvz39euzn5iyXOTnsoC4L2Uuym-HYB0wfHCS14blC1k.cache +0 -0
  170. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Q9/Q9duhZbKClj2yMCDfcfVardDtcN8L_O_0vWOSghO-Wc.cache +0 -0
  171. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/QT/QTy35aJ8utBQ7tWPGP-wkH1gQFDw9PfDR6IL-ioARdI.cache +1 -0
  172. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Rr/Rraj9_-3Y0hyX_ydNEYeZZjgRnpcTsaN2g8sBdAr0U4.cache +1 -0
  173. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/SN/SNLpl8dBME7slRhucvmV_kjMQImk-VGiILaga5lEcBM.cache +0 -0
  174. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/UA/UA-vI1pm6jjLk0HMTm32_Q8qSf6kl82Zqp4qHppaHTs.cache +0 -0
  175. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Un/UnQckkSJxEgp7_0qcxAV0fVb-a1mMjjYgRZnYSqJVL4.cache +0 -0
  176. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/VG/VGXrEvduCU_m46nDkclIvkz88q3U5XCR90Obpr4fAmI.cache +1 -0
  177. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Vq/VqGlg41jzPe2xOKQT51XO0neCFahsFpYti3npqW_h5k.cache +3 -0
  178. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/X-/X-qNf54ppJDRBAw7DAsCGjKRMxYoNSukheQbSa8bH3I.cache +1 -0
  179. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Xa/XarP8tNYI88ANDMIKJowbKzLrr5F-ySuKjVJxxYfFQY.cache +1 -0
  180. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Xx/XxNbAR75-XymAhH_LmVcuEz6fWG8y1c8mCBDuE_Lw1A.cache +0 -0
  181. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Y4/Y46f-2WDyv-1cajT0yd_TLvjuKSTna_LEIBFXu2HEH0.cache +0 -0
  182. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -0
  183. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Yi/Yi0o2OVzxzXYcS4Ub-BSXroo-1Hz963XYivzOqycA2k.cache +1 -0
  184. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/a1/a1JkQNR-jIzpBc0YgSxNy1z6TmEk-18wELusp6uwMnY.cache +0 -0
  185. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/aM/aMGeDsD2r6O1qpZOxjRFsihutyeMTwq_QqjOursdoi8.cache +0 -0
  186. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/bL/bL5Zo79Q4uDkuHnSm2KXLE-T4Gq9pHXlqKUJ-JX7cmo.cache +0 -0
  187. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cC/cCKlO1m4XweKwETyD8B1rt2TjgJ7113m1qZPPp_HxoM.cache +1 -0
  188. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/dE/dEXfv0V0k-NpSIhAUCYAWfi4BlVLZ4jH9E86cfulZWw.cache +1 -0
  189. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/ez/eznA6dAb37VMBY614_p4GZE5YDkrwo3vb_QErDJ_LRk.cache +0 -0
  190. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/f2/f2mtjZUY1ekuJsLvcJMC12c-4hV61BEh0XLA61fCswM.cache +1 -0
  191. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/f8/f84jEUeiI_nJG_gDCh_hn-7aTSp48c_2IhLt_9WMdFI.cache +2 -0
  192. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/gS/gSZA8EU-m-fEUCSprxEMM-Bhri0ZwAssFKIelou0AEo.cache +0 -0
  193. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/gT/gTan-pp1QHaUce9f0ZkC1enUYJDAlPfuija3jRTFC3o.cache +0 -0
  194. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/gm/gmeq3PfpFbfe2L0ijWzw1Dzny6T-kD3zREQjh6XGs-o.cache +0 -0
  195. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/i5/i5my_eWq7Zxc_Z_g1vQvOiA0IDmHuZFZBTWT3QCQfg8.cache +0 -0
  196. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/i8/i8vRVFNFxJovAswEUH2cn2cgoNCHw64tAX1qrCHZ10Y.cache +0 -0
  197. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/iY/iYOJpcZoyFigS_1MWM1kis69W76vWExf8Y0kyxjtOx8.cache +1 -0
  198. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/jH/jHgUm9vqtCJw2D5t6vif1pgjzQJvHJVfPRAx7OAv73A.cache +0 -0
  199. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/jc/jcmeyhSsE7F1ULqySegf56khUqvo4XkYET6Szgm3Bvk.cache +1 -0
  200. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/k3/k3hQdQKe9nbevuKy3ORynP3MJAGvGh4UjtUBjBZlreU.cache +1 -0
  201. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/kN/kN7p5Yd60hzqNW9AI3Cs01-31udA8OfmlMbCDCTALWs.cache +1 -0
  202. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/kz/kzw210ITXFWNFV8kw5e-_kRlpS48lGotSQWKPlUfMJ4.cache +0 -0
  203. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/lU/lUMILltXZTewdRkBDoaTN8YqP2HTEgG8pRHm-uwXGq8.cache +1 -0
  204. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/l_/l_QAY97rLv-9sDaYoANaYoZ4ArK85m2kR4mGtFGUDbk.cache +1 -0
  205. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -0
  206. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/op/opvu3owuWCWLT2O2_NoG3_DQxo7jyuBfc1hgX6TxTIk.cache +1 -0
  207. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/qa/qaiQhgwOdNAN8CFIUKYPG2wuHgams4R7ps30keggv0k.cache +0 -0
  208. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/qv/qvz_zCaGhbxQok2cVfGrxJ2ZBHU7Z-tlQTyBlDONreM.cache +0 -0
  209. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/r6/r6fqdvX67B754iGVsiI7VU4QYonMVkvxOsMGEt01HOE.cache +1 -0
  210. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/rQ/rQuxS1p9usX_LSXmj2xZTRKTl7gbNHMIjItSLhBiYFo.cache +1 -0
  211. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/s0/s04L41mt9STCFF5OjeU0iwkQDaKri9_wk09iD_tu8fE.cache +0 -0
  212. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/tU/tUS580Jgk3Hpsg7T-1ZSyBoU0UlbXMyQFcXZpm_55-M.cache +1 -0
  213. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/ww/ww8c31pBJogAMzLW_GZoB1mbaqeYq2fxbqW562M8u8E.cache +1 -0
  214. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +0 -0
  215. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/xz/xz1wFbuw3Hm5tdgXrfvHPyJi5K-UxslzlGC8_-G68rc.cache +1 -0
  216. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/zF/zFTGe9WA9MEh0BiglNQK18x4EAmZtMZ5blWdfcyb_CY.cache +3 -0
  217. data/test/unit/test_record.rb +41 -0
  218. metadata +399 -2
@@ -1742,3 +1742,307 @@ Processing by PostsController#update as HTML
1742
1742
  Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1743
1743
  Redirected to http://www.example.com/posts/1
1744
1744
  Completed 302 Found in 59ms
1745
+ ------------------------------------------
1746
+ PostsControllerTest: test_should_show_post
1747
+ ------------------------------------------
1748
+ --------------------------------------------
1749
+ PostsControllerTest: test_should_update_post
1750
+ --------------------------------------------
1751
+ ---------------------------------------------
1752
+ PostsControllerTest: test_should_destroy_post
1753
+ ---------------------------------------------
1754
+ --------------------------------------------
1755
+ PostsControllerTest: test_should_create_post
1756
+ --------------------------------------------
1757
+ ------------------------------------------
1758
+ PostsControllerTest: test_should_get_index
1759
+ ------------------------------------------
1760
+ -----------------------------------------
1761
+ PostsControllerTest: test_should_get_edit
1762
+ -----------------------------------------
1763
+ ----------------------------------------
1764
+ PostsControllerTest: test_should_get_new
1765
+ ----------------------------------------
1766
+ -----------------------------------------
1767
+ PostsControllerTest: test_should_get_edit
1768
+ -----------------------------------------
1769
+ ------------------------------------------
1770
+ PostsControllerTest: test_should_get_index
1771
+ ------------------------------------------
1772
+ ------------------------------------------
1773
+ PostsControllerTest: test_should_show_post
1774
+ ------------------------------------------
1775
+ ----------------------------------------
1776
+ PostsControllerTest: test_should_get_new
1777
+ ----------------------------------------
1778
+ --------------------------------------------
1779
+ PostsControllerTest: test_should_update_post
1780
+ --------------------------------------------
1781
+ --------------------------------------------
1782
+ PostsControllerTest: test_should_create_post
1783
+ --------------------------------------------
1784
+ ---------------------------------------------
1785
+ PostsControllerTest: test_should_destroy_post
1786
+ ---------------------------------------------
1787
+ -----------------------------------------
1788
+ PostsControllerTest: test_should_get_edit
1789
+ -----------------------------------------
1790
+ -----------------------------------------
1791
+ PostsControllerTest: test_should_get_edit
1792
+ -----------------------------------------
1793
+ -----------------------------------------
1794
+ PostsControllerTest: test_should_get_edit
1795
+ -----------------------------------------
1796
+ -----------------------------------------
1797
+ PostsControllerTest: test_should_get_edit
1798
+ -----------------------------------------
1799
+ -----------------------------------------
1800
+ PostsControllerTest: test_should_get_edit
1801
+ -----------------------------------------
1802
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-22 17:31:28 +0900
1803
+ Processing by PostsController#edit as HTML
1804
+ Parameters: {"id"=>"1"}
1805
+ Rendering posts/edit.html.erb within layouts/application
1806
+ Rendered posts/_form.html.erb (19.8ms)
1807
+ Rendered posts/edit.html.erb within layouts/application (21.5ms)
1808
+ Completed 200 OK in 372ms (Views: 242.6ms)
1809
+ ---------------------------------------------
1810
+ PostsControllerTest: test_should_destroy_post
1811
+ ---------------------------------------------
1812
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-22 17:31:33 +0900
1813
+ Processing by PostsController#destroy as HTML
1814
+ Parameters: {"id"=>"1"}
1815
+ Redirected to http://www.example.com/posts
1816
+ Completed 302 Found in 37ms
1817
+ -----------------------------------------
1818
+ PostsControllerTest: test_should_get_edit
1819
+ -----------------------------------------
1820
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-22 17:31:33 +0900
1821
+ Processing by PostsController#edit as HTML
1822
+ Parameters: {"id"=>"1"}
1823
+ Rendering posts/edit.html.erb within layouts/application
1824
+ Rendered posts/_form.html.erb (8.4ms)
1825
+ Rendered posts/edit.html.erb within layouts/application (9.7ms)
1826
+ Completed 200 OK in 164ms (Views: 136.3ms)
1827
+ ------------------------------------------
1828
+ PostsControllerTest: test_should_get_index
1829
+ ------------------------------------------
1830
+ Started GET "/posts" for 127.0.0.1 at 2016-12-22 17:31:34 +0900
1831
+ Processing by PostsController#index as HTML
1832
+ Rendering posts/index.html.erb within layouts/application
1833
+ Rendered posts/index.html.erb within layouts/application (1.7ms)
1834
+ Completed 200 OK in 4ms (Views: 3.3ms)
1835
+ ----------------------------------------
1836
+ PostsControllerTest: test_should_get_new
1837
+ ----------------------------------------
1838
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-22 17:31:34 +0900
1839
+ Processing by PostsController#new as HTML
1840
+ Rendering posts/new.html.erb within layouts/application
1841
+ Rendered posts/_form.html.erb (1.2ms)
1842
+ Rendered posts/new.html.erb within layouts/application (1.8ms)
1843
+ Completed 200 OK in 4ms (Views: 3.3ms)
1844
+ ------------------------------------------
1845
+ PostsControllerTest: test_should_show_post
1846
+ ------------------------------------------
1847
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-22 17:31:34 +0900
1848
+ Processing by PostsController#show as HTML
1849
+ Parameters: {"id"=>"1"}
1850
+ Rendering posts/show.html.erb within layouts/application
1851
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
1852
+ Completed 200 OK in 30ms (Views: 2.0ms)
1853
+ --------------------------------------------
1854
+ PostsControllerTest: test_should_update_post
1855
+ --------------------------------------------
1856
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-22 17:31:34 +0900
1857
+ Processing by PostsController#update as HTML
1858
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1859
+ Redirected to http://www.example.com/posts/1
1860
+ Completed 302 Found in 29ms
1861
+ --------------------------------------------
1862
+ PostsControllerTest: test_should_create_post
1863
+ --------------------------------------------
1864
+ Started POST "/posts" for 127.0.0.1 at 2016-12-22 17:31:34 +0900
1865
+ Processing by PostsController#create as HTML
1866
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1867
+ Redirected to http://www.example.com/posts/2
1868
+ Completed 302 Found in 2ms
1869
+ -----------------------------------------
1870
+ PostsControllerTest: test_should_get_edit
1871
+ -----------------------------------------
1872
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-27 15:14:43 +0900
1873
+ Processing by PostsController#edit as HTML
1874
+ Parameters: {"id"=>"1"}
1875
+ Rendering posts/edit.html.erb within layouts/application
1876
+ Rendered posts/_form.html.erb (16.7ms)
1877
+ Rendered posts/edit.html.erb within layouts/application (18.8ms)
1878
+ Completed 200 OK in 551ms (Views: 516.3ms)
1879
+ ----------------------------------------
1880
+ PostsControllerTest: test_should_get_new
1881
+ ----------------------------------------
1882
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-27 15:14:44 +0900
1883
+ Processing by PostsController#new as HTML
1884
+ Rendering posts/new.html.erb within layouts/application
1885
+ Rendered posts/_form.html.erb (2.0ms)
1886
+ Rendered posts/new.html.erb within layouts/application (2.9ms)
1887
+ Completed 200 OK in 6ms (Views: 5.3ms)
1888
+ ------------------------------------------
1889
+ PostsControllerTest: test_should_show_post
1890
+ ------------------------------------------
1891
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-27 15:14:44 +0900
1892
+ Processing by PostsController#show as HTML
1893
+ Parameters: {"id"=>"1"}
1894
+ Rendering posts/show.html.erb within layouts/application
1895
+ Rendered posts/show.html.erb within layouts/application (0.7ms)
1896
+ Completed 200 OK in 32ms (Views: 3.1ms)
1897
+ ---------------------------------------------
1898
+ PostsControllerTest: test_should_destroy_post
1899
+ ---------------------------------------------
1900
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-27 15:14:44 +0900
1901
+ Processing by PostsController#destroy as HTML
1902
+ Parameters: {"id"=>"1"}
1903
+ Redirected to http://www.example.com/posts
1904
+ Completed 302 Found in 33ms
1905
+ --------------------------------------------
1906
+ PostsControllerTest: test_should_create_post
1907
+ --------------------------------------------
1908
+ Started POST "/posts" for 127.0.0.1 at 2016-12-27 15:14:44 +0900
1909
+ Processing by PostsController#create as HTML
1910
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1911
+ Redirected to http://www.example.com/posts/2
1912
+ Completed 302 Found in 2ms
1913
+ ------------------------------------------
1914
+ PostsControllerTest: test_should_get_index
1915
+ ------------------------------------------
1916
+ Started GET "/posts" for 127.0.0.1 at 2016-12-27 15:14:44 +0900
1917
+ Processing by PostsController#index as HTML
1918
+ Rendering posts/index.html.erb within layouts/application
1919
+ Rendered posts/index.html.erb within layouts/application (2.5ms)
1920
+ Completed 200 OK in 7ms (Views: 4.9ms)
1921
+ --------------------------------------------
1922
+ PostsControllerTest: test_should_update_post
1923
+ --------------------------------------------
1924
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-27 15:14:45 +0900
1925
+ Processing by PostsController#update as HTML
1926
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1927
+ Redirected to http://www.example.com/posts/1
1928
+ Completed 302 Found in 30ms
1929
+ ---------------------------------------------
1930
+ PostsControllerTest: test_should_destroy_post
1931
+ ---------------------------------------------
1932
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-27 15:16:04 +0900
1933
+ Processing by PostsController#destroy as HTML
1934
+ Parameters: {"id"=>"1"}
1935
+ Redirected to http://www.example.com/posts
1936
+ Completed 302 Found in 39ms
1937
+ ----------------------------------------
1938
+ PostsControllerTest: test_should_get_new
1939
+ ----------------------------------------
1940
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-27 15:16:04 +0900
1941
+ Processing by PostsController#new as HTML
1942
+ Rendering posts/new.html.erb within layouts/application
1943
+ Rendered posts/_form.html.erb (13.2ms)
1944
+ Rendered posts/new.html.erb within layouts/application (14.9ms)
1945
+ Completed 200 OK in 278ms (Views: 277.6ms)
1946
+ ------------------------------------------
1947
+ PostsControllerTest: test_should_show_post
1948
+ ------------------------------------------
1949
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-27 15:16:05 +0900
1950
+ Processing by PostsController#show as HTML
1951
+ Parameters: {"id"=>"1"}
1952
+ Rendering posts/show.html.erb within layouts/application
1953
+ Rendered posts/show.html.erb within layouts/application (0.7ms)
1954
+ Completed 200 OK in 32ms (Views: 3.2ms)
1955
+ --------------------------------------------
1956
+ PostsControllerTest: test_should_update_post
1957
+ --------------------------------------------
1958
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-27 15:16:05 +0900
1959
+ Processing by PostsController#update as HTML
1960
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1961
+ Redirected to http://www.example.com/posts/1
1962
+ Completed 302 Found in 30ms
1963
+ --------------------------------------------
1964
+ PostsControllerTest: test_should_create_post
1965
+ --------------------------------------------
1966
+ Started POST "/posts" for 127.0.0.1 at 2016-12-27 15:16:05 +0900
1967
+ Processing by PostsController#create as HTML
1968
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1969
+ Redirected to http://www.example.com/posts/2
1970
+ Completed 302 Found in 2ms
1971
+ ------------------------------------------
1972
+ PostsControllerTest: test_should_get_index
1973
+ ------------------------------------------
1974
+ Started GET "/posts" for 127.0.0.1 at 2016-12-27 15:16:05 +0900
1975
+ Processing by PostsController#index as HTML
1976
+ Rendering posts/index.html.erb within layouts/application
1977
+ Rendered posts/index.html.erb within layouts/application (2.4ms)
1978
+ Completed 200 OK in 6ms (Views: 4.8ms)
1979
+ -----------------------------------------
1980
+ PostsControllerTest: test_should_get_edit
1981
+ -----------------------------------------
1982
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-27 15:16:05 +0900
1983
+ Processing by PostsController#edit as HTML
1984
+ Parameters: {"id"=>"1"}
1985
+ Rendering posts/edit.html.erb within layouts/application
1986
+ Rendered posts/_form.html.erb (2.0ms)
1987
+ Rendered posts/edit.html.erb within layouts/application (3.0ms)
1988
+ Completed 200 OK in 34ms (Views: 5.4ms)
1989
+ ---------------------------------------------
1990
+ PostsControllerTest: test_should_destroy_post
1991
+ ---------------------------------------------
1992
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-27 15:17:50 +0900
1993
+ Processing by PostsController#destroy as HTML
1994
+ Parameters: {"id"=>"1"}
1995
+ Redirected to http://www.example.com/posts
1996
+ Completed 302 Found in 39ms
1997
+ -----------------------------------------
1998
+ PostsControllerTest: test_should_get_edit
1999
+ -----------------------------------------
2000
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-27 15:17:50 +0900
2001
+ Processing by PostsController#edit as HTML
2002
+ Parameters: {"id"=>"1"}
2003
+ Rendering posts/edit.html.erb within layouts/application
2004
+ Rendered posts/_form.html.erb (18.7ms)
2005
+ Rendered posts/edit.html.erb within layouts/application (20.6ms)
2006
+ Completed 200 OK in 463ms (Views: 433.7ms)
2007
+ ----------------------------------------
2008
+ PostsControllerTest: test_should_get_new
2009
+ ----------------------------------------
2010
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-27 15:17:51 +0900
2011
+ Processing by PostsController#new as HTML
2012
+ Rendering posts/new.html.erb within layouts/application
2013
+ Rendered posts/_form.html.erb (2.0ms)
2014
+ Rendered posts/new.html.erb within layouts/application (2.9ms)
2015
+ Completed 200 OK in 6ms (Views: 5.3ms)
2016
+ --------------------------------------------
2017
+ PostsControllerTest: test_should_create_post
2018
+ --------------------------------------------
2019
+ Started POST "/posts" for 127.0.0.1 at 2016-12-27 15:17:51 +0900
2020
+ Processing by PostsController#create as HTML
2021
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
2022
+ Redirected to http://www.example.com/posts/2
2023
+ Completed 302 Found in 2ms
2024
+ ------------------------------------------
2025
+ PostsControllerTest: test_should_show_post
2026
+ ------------------------------------------
2027
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-27 15:17:51 +0900
2028
+ Processing by PostsController#show as HTML
2029
+ Parameters: {"id"=>"1"}
2030
+ Rendering posts/show.html.erb within layouts/application
2031
+ Rendered posts/show.html.erb within layouts/application (0.7ms)
2032
+ Completed 200 OK in 31ms (Views: 3.1ms)
2033
+ ------------------------------------------
2034
+ PostsControllerTest: test_should_get_index
2035
+ ------------------------------------------
2036
+ Started GET "/posts" for 127.0.0.1 at 2016-12-27 15:17:51 +0900
2037
+ Processing by PostsController#index as HTML
2038
+ Rendering posts/index.html.erb within layouts/application
2039
+ Rendered posts/index.html.erb within layouts/application (2.5ms)
2040
+ Completed 200 OK in 6ms (Views: 4.9ms)
2041
+ --------------------------------------------
2042
+ PostsControllerTest: test_should_update_post
2043
+ --------------------------------------------
2044
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-27 15:17:51 +0900
2045
+ Processing by PostsController#update as HTML
2046
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
2047
+ Redirected to http://www.example.com/posts/1
2048
+ Completed 302 Found in 30ms
@@ -0,0 +1 @@
1
+ "%A�>��N�6�n���f��9��V�~K��
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=aea99ee8d6382c62ffffe5da1b77449b03f2f63ef75e8257ddd7e173ebd0cd88:ET
@@ -0,0 +1 @@
1
+ I"�/tmp/local/lib/ruby/gems/2.5.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts/turbolinks.js?type=application/javascript&pipeline=self&id=e9b8ac790c4a8cf2b8e58da2a616611483fc38c5b0f0a525d16c1630b6742863:ET
@@ -0,0 +1 @@
1
+ "%�d�-�K���`���8Y��3�͹/Y����a~K
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=c5e43ec487ed4f77d8ffb59dcd3019f230c45ef9fd87412a228c6e9025d5c3c9:ET
@@ -0,0 +1 @@
1
+ "%ó�n���x���|��b�[ģ��Y��xF�
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/scaffolds.scss?type=text/css&pipeline=self&id=a00b9f52da1caf14267602f48608a5bb98bafe27597f18936222ac000234afa6:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/posts.coffee?type=application/javascript&pipeline=self&id=b595f9f8bdbdb66b39971e50e84db529e9b8146dbdea24d432a4d588d51450ac:ET
@@ -0,0 +1 @@
1
+ I"�/tmp/local/lib/ruby/gems/2.5.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=94057dde00f629736cc1e9dae77ae0a61c7b49ad070379898f6ffc971b4d7253:ET
@@ -0,0 +1 @@
1
+ "%xJ�g&k��"��U���m��X�V�;Fj
@@ -0,0 +1 @@
1
+ "%C6������ܦ�M=��Qu���/�,"c�5u
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/posts.scss?type=text/css&pipeline=self&id=2162b8f3a948edf12b852c72661ca2903e564f92dcc8d0139cc96900675c1694:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=3d3b42832efb6756f28e4deaf9ee762f30827d0280b349c677520feaf5a8ea84:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=468748acd03b00164199fddd187b2e479acbd9b7b9565bfb2baf6e0eb0dcd6c2:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=f97bfc0665d750fe7283919dc4774cd29246a785cc51dd8397a529967825cec4:ET
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"lfile-digest:///tmp/local/lib/ruby/gems/2.5.0/gems/actioncable-5.0.1/lib/assets/compiled/action_cable.js;TTF
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=46946b0205b341ce129fde246f705f20b7021060c0636fbd9986563a8264f6e8:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/scaffolds.scss?type=text/css&pipeline=self&id=ffad965ae2546e302a372ddc1070a83df00ca96134de939dc15608a970553cd4:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/posts.scss?type=text/css&pipeline=self&id=634b5709c98bff801f7b000c61c0e0d133a8162ddeb05d028e891d2d3f78a13d:ET
@@ -0,0 +1 @@
1
+ I"�/tmp/local/lib/ruby/gems/2.5.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=7d994c8b2ea90aa92778c5731891ff91008e5fed5cb49615820174d9ce6eab7f:ET
@@ -0,0 +1 @@
1
+ I"�/tmp/local/lib/ruby/gems/2.5.0/gems/turbolinks-source-5.0.0/lib/assets/javascripts/turbolinks.js?type=application/javascript&pipeline=self&id=faa4f936722890665e4cdd27dad4a6791ce75f50e5cbfd5789eeb20ad9983257:ET
@@ -0,0 +1 @@
1
+ "%uW��l��j��Z� xU��>�?]��pc��s
@@ -0,0 +1,2 @@
1
+ "%L�K�
2
+ TjV�io��Y�q����
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=00a137e9716dca9d45cf01dea364b9bd4f34207249818dbe4ef9c1b6eaf25fe8:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=8134decbdf0f240d52b5a95226eecd9c474f918e3b0d4861f26224e2c77f26dc:ET
@@ -0,0 +1 @@
1
+ I"�/tmp/local/lib/ruby/gems/2.5.0/gems/actioncable-5.0.1/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self&id=771e36973db8b26dba4dcf563b10da2b6a7de250ea1f3a46d2347e2c91877474:ET
@@ -0,0 +1 @@
1
+ I"�/tmp/local/lib/ruby/gems/2.5.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=839904ada392c527b04e2415ac12f4a6186a8b0171c5a394e842797b26ece193:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/posts.coffee?type=application/javascript&pipeline=self&id=17c8dfe29c41efefc1b690f49610948c73091ba2b8ae1f7354dc60d1ab7f5ffd:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=bac0469816c7f7d1e043005770df8be62492231a4d73c3dd69f4c4d1bc16056a:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=e5dd42093fb38a8433a92e8b1718dc149d6d809591f616196a47c7c51aeed273:ET
@@ -0,0 +1 @@
1
+ "%�䯄�_�d�Q�tvy�f#}{��M�Q�����
@@ -0,0 +1 @@
1
+ I"�/tmp/local/lib/ruby/gems/2.5.0/gems/jquery-rails-4.2.1/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=2a80c9b2b785dd1e9b2259570a72b7ddae5aa4caea98da4f9d918d382d68a4ff:ET
@@ -0,0 +1 @@
1
+ I"�/tmp/local/lib/ruby/gems/2.5.0/gems/actioncable-5.0.0.1/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self&id=804523570d4be4428058c958dffddd00d5a25aa307750f89a96fa93d45811f57:ET
@@ -0,0 +1 @@
1
+ "%�d�-�K���`���8Y��3�͹/Y����a~K
@@ -0,0 +1 @@
1
+ "%�~��2%�a�5�p���L�Je5�-,$�o\2
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"nfile-digest:///tmp/local/lib/ruby/gems/2.5.0/gems/actioncable-5.0.0.1/lib/assets/compiled/action_cable.js;TTF
@@ -49,4 +49,45 @@ class TestRecord < Test::Unit::TestCase
49
49
  assert_equal(29, @memo.id)
50
50
  end
51
51
  end
52
+
53
+ sub_test_case("validations") do
54
+ sub_test_case("_key presence") do
55
+ class NoKey < GroongaClientModel::Record
56
+ class << self
57
+ def columns
58
+ GroongaClientModel::Schema::Columns.new(nil, "_id" => {})
59
+ end
60
+ end
61
+ end
62
+
63
+ class HaveKey < GroongaClientModel::Record
64
+ class << self
65
+ def columns
66
+ GroongaClientModel::Schema::Columns.new(nil,
67
+ "_id" => {},
68
+ "_key" => {})
69
+ end
70
+ end
71
+ end
72
+
73
+ test "no key" do
74
+ record = NoKey.new
75
+ assert do
76
+ record.valid?
77
+ end
78
+ assert_equal({}, record.errors.messages)
79
+ end
80
+
81
+ test "have key" do
82
+ record = HaveKey.new
83
+ assert do
84
+ not record.save
85
+ end
86
+ assert_equal({
87
+ :_key => [record.errors.generate_message(:_key, :blank)],
88
+ },
89
+ record.errors.messages)
90
+ end
91
+ end
92
+ end
52
93
  end