nodes 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/nodes/nodes_controller.rb +62 -0
  3. data/app/models/nodes/node.rb +5 -0
  4. data/app/views/nodes/nodes/_form.html.haml +13 -0
  5. data/app/views/nodes/nodes/edit.html.haml +7 -0
  6. data/app/views/nodes/nodes/index.html.haml +21 -0
  7. data/app/views/nodes/nodes/new.html.haml +5 -0
  8. data/app/views/nodes/nodes/show.html.haml +9 -0
  9. data/config/routes.rb +1 -0
  10. data/db/migrate/20170712092306_create_nodes_nodes.rb +9 -0
  11. data/lib/nodes/version.rb +1 -1
  12. data/spec/dummy/db/development.sqlite3 +0 -0
  13. data/spec/dummy/db/schema.rb +21 -0
  14. data/spec/dummy/db/test.sqlite3 +0 -0
  15. data/spec/dummy/log/development.log +255 -0
  16. data/spec/dummy/log/test.log +353 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0Q/0QgQUG6-7bofI1Thip-BKQJNwYidylmgaUKZNEIRr_E.cache +1 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1c/1c1ZRswAEkyNaWf4s6UnvAbP2Iqo3pcikbj6wZibTOc.cache +1 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7e/7ezrQjos9fEK-QX5aCNvojpP0XaBJTUjDDwjCOXunvg.cache +1 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8u/8uVDolLxDX4iPr5j7T6V5v-GrZceDq2X7BFbWs8Bh2s.cache +2 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9g/9gJjkoyqBvLhSIdSET0D42I5x06QzL0IoEV3lF6ZDN0.cache +3 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AX/AXkqZ642-X_QKvWmGlU8aB65djkrO9ZbOjG6C5YFO6E.cache +0 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bp/Bp8gbKK4PN8VPKJdiQzi0J1a7nVvRmckePDrJPLuZSQ.cache +2 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CO/COxeJ6XvgGfoCKur5WbmN_e-3ggZY7ReE2u9w_mn2I0.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cg/Cg5wk86kgq-cs_H-b4kTMveYaePrYYY4kbtOMHNotHM.cache +2 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/H9/H9VktQ3XG9d3aN-BpRDFqmLGYgTGSgfFXFI46dfBmyo.cache +0 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +2 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KU/KU9ez36HgE1lZ5sLVAqh5csg3JR0-enPWj7wCFX3Pks.cache +0 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/L1/L1kkiOMzfTJOjzxoCQoBOx2FvNT4dnEK_86xAOvYSDE.cache +1 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LQ/LQ97kr3e8EuRX1DT37tpFWIrGf_4P3T9vqaBVJxv8TE.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MB/MBJrLeklYxiYcAnv8Kkd7LT7dUxX67MrGE8Br-dHI4M.cache +1 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OO/OOm9D2yedwHuaCkd3MOrZBG62diRBt4iQ2DgB6KgnAk.cache +1 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qn/QnOcfvNaTxvndOXPUdVB6Tfm9i_Wb9g-z5QUrv9ZOmM.cache +2 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/R6/R6hW77ommJtbH6tfYt5UIgFj6bzqregHAbCwYkAcOUQ.cache +1 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sg/SgRG7G4mZvaeN7066cBSa-V9f3QHH7GeV9bEQwNcr6Y.cache +2 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TA/TAecvGLrKxx1RLpkjUrEQdM23MhqQwGs89vfpwTGF_Y.cache +0 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TT/TTSbDQvXLRqFRVqRkAE0WG3XuAL1c9qYgEEzqul_5aA.cache +2 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UG/UGdUf5YZW3Ta3FHpXkIo4y74FxwesROtVpYTClWeZ4A.cache +0 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ut/UtZQlzOuLQ3tkGQDAEwzKl8-lSICrIfeddYOtxBd86s.cache +0 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VA/VAeS11MswdHLHVqRdQj1kD5Pg7yuP1VIZrc5CX-eavc.cache +0 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VV/VVK8SjpPBEn0puErnWINnHtMNXKpbVAw_WCvgtksmO0.cache +1 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/We/WehEWVQzFqLGB2ZamnXhpX0e_rh95KQobHGxTw2kWeo.cache +2 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wi/WiUreM316IrAy3_FOX_HSGFL1Aqid9anMul2-kmNOco.cache +1 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wp/WpU0Sqz3NX3BJ7gEQZy2vS6LsMeedVoeCsTB1MdATn4.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yx/Yx7FtdnF1Y9DKJpbqt7XQBejq4vvUJ9nrdJNlz32eSk.cache +1 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zg/ZgA80RsX8xTmPF_UG4Hn1A5xzKVxE4AL9SgwsWq6KLU.cache +1 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ap/apn4Ww46vqqaO3_HadeMvpnrXTaeAVaGu3izlagNR_A.cache +0 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bA/bALvjQBu8sEZtRLIYxv3CSkrnf4a7u-bmRQ8aY3vzWo.cache +0 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bM/bMg0vZClFosrBK0aGp2w7catCYGZNR8crZ9yGCU0Fxw.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +2 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/c0/c0AoMBBRkZ2YGdHy-Y3lqSVJqC2J4AMG1VLtsawa-tQ.cache +1 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dP/dPLswfLPO40GtUwTzKuZCYcqzcoLZPMEM38UDJW0bck.cache +1 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eS/eS6VGvw5uWa2Q6a2O-G46EMaiCRkrenzLRRSZoRdOY8.cache +1 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fL/fLBQg0k7YtCHb7EN5zPX01XspwpG-8FE6JsFdXH9Aw4.cache +0 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gE/gEGsBDhnJP8f4LYtE0MK9YtYMBLl0ML6KNcmidXemVk.cache +0 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j6/j6_sun9AcTvJAE1yMYYy4YqhlKzV1TVIHsKNHJLLArs.cache +1 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jv/jvKvb7scFMN5X-mbAL1N4F6ZvhND3Ga9VE6dtY9jwws.cache +0 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kf/kfVNtSegnvqewYkl5V7EdNlTjq8VCxs60nNElCBIfHQ.cache +2 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/l7/l7VVklFqAfPuK3okrtF59Se1W_wSKPCtun9PNBCQpNI.cache +2 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lN/lNQkGUVeKmN0Rm12VOuc1OJjTyUORm_opsizgIK52HY.cache +0 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache +2 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nJ/nJ0vFRDc-j4Z2nK0mGkDVPkggxbPq9F6t80MTdpSW-c.cache +1 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q1/q1oadflrkv_1uq3d9GL5hwCr9_OgPX68cR2w3h-XCCc.cache +1 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rv/rv4kdSRbIvaOWzA3DV-b9R8rjq2iM9jpElIflcFJs88.cache +1 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tW/tWtnlgHdLPkIaibigZ1KAKz5c_dwQ-z3GRQHCBtveZw.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xL/xLSK93vZBGRiZki9JjU7DYz2tYor-lowev9vJbcM0Mk.cache +1 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xg/xg4ZboAEwXZ2FzzTObCYXd5c2dqFqc0RVbIDuInHwnA.cache +2 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zE/zE3zB9GeKok5ENqCtrdhPxYvYQ793Fw6I_SeQZ72KxM.cache +0 -0
  71. data/spec/dummy/tmp/pids/server.pid +1 -1
  72. data/spec/factories/nodes_nodes.rb +5 -0
  73. data/spec/models/nodes/node_spec.rb +19 -0
  74. data/spec/rails_helper.rb +14 -0
  75. data/spec/spec_helper.rb +1 -8
  76. data/spec/support/database_cleaner.rb +23 -0
  77. data/spec/support/factory_girl.rb +5 -0
  78. data/spec/support/seeds.rb +5 -0
  79. data/spec/support/test_helpers.rb +21 -0
  80. data/spec/support/watir.rb +43 -0
  81. metadata +200 -4
@@ -0,0 +1,353 @@
1
+  (0.0ms) begin transaction
2
+  (0.0ms) rollback transaction
3
+  (0.1ms) begin transaction
4
+  (0.1ms) rollback transaction
5
+  (0.0ms) begin transaction
6
+  (0.1ms) rollback transaction
7
+  (0.0ms) begin transaction
8
+  (0.0ms) rollback transaction
9
+  (0.0ms) begin transaction
10
+  (0.0ms) rollback transaction
11
+  (0.0ms) begin transaction
12
+  (0.0ms) rollback transaction
13
+  (0.0ms) begin transaction
14
+  (0.0ms) rollback transaction
15
+  (0.0ms) begin transaction
16
+  (0.0ms) rollback transaction
17
+  (0.0ms) begin transaction
18
+  (0.0ms) rollback transaction
19
+  (0.0ms) begin transaction
20
+  (0.0ms) rollback transaction
21
+  (0.0ms) begin transaction
22
+  (0.0ms) rollback transaction
23
+  (0.0ms) begin transaction
24
+  (0.0ms) rollback transaction
25
+  (0.0ms) begin transaction
26
+  (0.0ms) rollback transaction
27
+  (0.0ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+  (0.0ms) begin transaction
30
+  (0.0ms) rollback transaction
31
+  (0.0ms) begin transaction
32
+  (0.1ms) rollback transaction
33
+  (0.0ms) begin transaction
34
+  (0.0ms) rollback transaction
35
+  (0.0ms) begin transaction
36
+  (0.0ms) rollback transaction
37
+  (0.0ms) begin transaction
38
+  (0.0ms) rollback transaction
39
+  (0.0ms) begin transaction
40
+  (0.0ms) rollback transaction
41
+  (0.0ms) begin transaction
42
+  (0.0ms) rollback transaction
43
+  (0.0ms) begin transaction
44
+  (0.0ms) rollback transaction
45
+  (0.0ms) begin transaction
46
+  (0.0ms) rollback transaction
47
+  (0.0ms) begin transaction
48
+  (0.0ms) rollback transaction
49
+  (0.0ms) begin transaction
50
+  (0.0ms) rollback transaction
51
+  (0.0ms) begin transaction
52
+  (0.0ms) rollback transaction
53
+  (0.0ms) begin transaction
54
+  (0.1ms) rollback transaction
55
+  (0.0ms) begin transaction
56
+  (0.0ms) rollback transaction
57
+  (0.0ms) begin transaction
58
+  (0.0ms) rollback transaction
59
+  (0.0ms) begin transaction
60
+  (0.0ms) rollback transaction
61
+  (0.0ms) begin transaction
62
+  (0.0ms) rollback transaction
63
+  (0.0ms) begin transaction
64
+  (0.0ms) rollback transaction
65
+  (0.0ms) begin transaction
66
+  (0.0ms) rollback transaction
67
+  (0.0ms) begin transaction
68
+  (0.0ms) rollback transaction
69
+  (0.0ms) begin transaction
70
+  (0.0ms) rollback transaction
71
+  (0.0ms) begin transaction
72
+  (0.0ms) rollback transaction
73
+  (0.0ms) begin transaction
74
+  (0.0ms) rollback transaction
75
+  (0.0ms) begin transaction
76
+  (0.1ms) rollback transaction
77
+  (0.0ms) begin transaction
78
+  (0.0ms) rollback transaction
79
+  (0.0ms) begin transaction
80
+  (0.0ms) rollback transaction
81
+  (0.1ms) begin transaction
82
+  (0.0ms) rollback transaction
83
+  (0.0ms) begin transaction
84
+  (0.0ms) rollback transaction
85
+  (0.0ms) begin transaction
86
+  (0.0ms) rollback transaction
87
+  (0.0ms) begin transaction
88
+  (0.0ms) rollback transaction
89
+  (0.0ms) begin transaction
90
+  (0.0ms) rollback transaction
91
+  (0.0ms) begin transaction
92
+  (0.0ms) rollback transaction
93
+  (0.0ms) begin transaction
94
+  (0.0ms) rollback transaction
95
+  (0.0ms) begin transaction
96
+  (0.0ms) rollback transaction
97
+  (0.0ms) begin transaction
98
+  (0.0ms) rollback transaction
99
+  (0.0ms) begin transaction
100
+  (0.0ms) rollback transaction
101
+  (0.0ms) begin transaction
102
+  (0.1ms) rollback transaction
103
+  (0.0ms) begin transaction
104
+  (0.0ms) rollback transaction
105
+  (0.0ms) begin transaction
106
+  (0.0ms) rollback transaction
107
+  (0.0ms) begin transaction
108
+  (0.0ms) rollback transaction
109
+  (0.0ms) begin transaction
110
+  (0.0ms) rollback transaction
111
+  (0.0ms) begin transaction
112
+  (0.0ms) rollback transaction
113
+  (0.0ms) begin transaction
114
+  (0.0ms) rollback transaction
115
+  (0.0ms) begin transaction
116
+  (0.0ms) rollback transaction
117
+  (0.0ms) begin transaction
118
+  (0.0ms) rollback transaction
119
+  (0.0ms) begin transaction
120
+  (0.0ms) rollback transaction
121
+  (0.0ms) begin transaction
122
+  (0.0ms) rollback transaction
123
+  (0.0ms) begin transaction
124
+  (0.0ms) rollback transaction
125
+  (0.0ms) begin transaction
126
+  (0.0ms) rollback transaction
127
+  (0.0ms) begin transaction
128
+  (0.1ms) rollback transaction
129
+  (0.0ms) begin transaction
130
+  (0.0ms) rollback transaction
131
+  (0.0ms) begin transaction
132
+  (0.0ms) rollback transaction
133
+  (0.0ms) begin transaction
134
+  (0.0ms) rollback transaction
135
+  (0.0ms) begin transaction
136
+  (0.0ms) rollback transaction
137
+  (0.0ms) begin transaction
138
+  (0.0ms) rollback transaction
139
+  (0.0ms) begin transaction
140
+  (0.0ms) rollback transaction
141
+  (0.0ms) begin transaction
142
+  (0.0ms) rollback transaction
143
+  (0.0ms) begin transaction
144
+  (0.0ms) rollback transaction
145
+  (0.0ms) begin transaction
146
+  (0.0ms) rollback transaction
147
+  (0.1ms) begin transaction
148
+  (0.0ms) rollback transaction
149
+  (0.0ms) begin transaction
150
+  (0.0ms) rollback transaction
151
+  (0.0ms) begin transaction
152
+  (0.0ms) rollback transaction
153
+  (0.0ms) begin transaction
154
+  (0.0ms) rollback transaction
155
+  (0.0ms) begin transaction
156
+  (0.0ms) rollback transaction
157
+  (0.0ms) begin transaction
158
+  (0.0ms) rollback transaction
159
+  (0.1ms) begin transaction
160
+  (0.0ms) rollback transaction
161
+  (0.1ms) begin transaction
162
+  (0.0ms) rollback transaction
163
+  (0.0ms) begin transaction
164
+  (0.0ms) rollback transaction
165
+  (0.1ms) begin transaction
166
+  (0.0ms) rollback transaction
167
+  (0.1ms) begin transaction
168
+  (0.0ms) rollback transaction
169
+  (0.1ms) begin transaction
170
+  (0.1ms) rollback transaction
171
+  (0.1ms) begin transaction
172
+  (0.0ms) rollback transaction
173
+  (0.1ms) begin transaction
174
+  (0.0ms) rollback transaction
175
+  (0.1ms) begin transaction
176
+  (0.0ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+  (0.0ms) rollback transaction
179
+  (0.1ms) begin transaction
180
+  (0.0ms) rollback transaction
181
+  (0.8ms) PRAGMA foreign_keys
182
+  (0.1ms) PRAGMA foreign_keys = OFF
183
+  (0.1ms) PRAGMA foreign_keys = 1
184
+  (0.0ms) begin transaction
185
+  (0.1ms) SAVEPOINT active_record_1
186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
187
+  (0.1ms) SAVEPOINT active_record_1
188
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
189
+  (0.0ms) rollback transaction
190
+  (0.1ms) begin transaction
191
+  (0.1ms) SAVEPOINT active_record_1
192
+  (0.1ms) RELEASE SAVEPOINT active_record_1
193
+  (0.1ms) SAVEPOINT active_record_1
194
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
195
+  (0.0ms) rollback transaction
196
+  (0.0ms) begin transaction
197
+  (0.1ms) SAVEPOINT active_record_1
198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
199
+  (0.0ms) SAVEPOINT active_record_1
200
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
201
+  (0.0ms) rollback transaction
202
+  (0.8ms) PRAGMA foreign_keys
203
+  (0.1ms) PRAGMA foreign_keys = OFF
204
+  (0.1ms) PRAGMA foreign_keys = 1
205
+  (0.0ms) begin transaction
206
+  (0.1ms) SAVEPOINT active_record_1
207
+  (0.1ms) RELEASE SAVEPOINT active_record_1
208
+  (0.1ms) SAVEPOINT active_record_1
209
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
210
+  (0.0ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+  (0.1ms) SAVEPOINT active_record_1
213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
214
+  (0.1ms) SAVEPOINT active_record_1
215
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
216
+  (0.0ms) rollback transaction
217
+  (0.1ms) begin transaction
218
+  (0.1ms) SAVEPOINT active_record_1
219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
220
+  (0.0ms) SAVEPOINT active_record_1
221
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
222
+  (0.0ms) rollback transaction
223
+  (0.1ms) SELECT sqlite_version(*)
224
+  (7.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
225
+  (6.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
226
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
227
+ Migrating to CreateNodesNodes (20170712092306)
228
+  (0.0ms) begin transaction
229
+  (0.3ms) CREATE TABLE "nodes_nodes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
230
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170712092306"]]
231
+  (6.5ms) commit transaction
232
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
233
+  (0.1ms) begin transaction
234
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-07-13 21:35:45.240770"], ["updated_at", "2017-07-13 21:35:45.240770"]]
235
+  (9.6ms) commit transaction
236
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
237
+  (0.8ms) PRAGMA foreign_keys
238
+  (0.1ms) PRAGMA foreign_keys = OFF
239
+  (13.8ms) DELETE FROM "ar_internal_metadata";
240
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
241
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
242
+  (5.1ms) DELETE FROM "nodes_nodes";
243
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
244
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'nodes_nodes';
245
+  (0.1ms) PRAGMA foreign_keys = 1
246
+  (0.1ms) begin transaction
247
+  (0.1ms) SAVEPOINT active_record_1
248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
249
+  (0.0ms) SAVEPOINT active_record_1
250
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
251
+  (0.0ms) rollback transaction
252
+  (0.1ms) begin transaction
253
+  (0.1ms) SAVEPOINT active_record_1
254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
255
+  (0.1ms) SAVEPOINT active_record_1
256
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
257
+  (0.0ms) rollback transaction
258
+  (0.0ms) begin transaction
259
+  (0.1ms) SAVEPOINT active_record_1
260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
261
+  (0.1ms) SAVEPOINT active_record_1
262
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
263
+  (0.0ms) rollback transaction
264
+  (0.8ms) PRAGMA foreign_keys
265
+  (0.1ms) PRAGMA foreign_keys = OFF
266
+  (7.4ms) DELETE FROM "ar_internal_metadata";
267
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
268
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
269
+  (5.1ms) DELETE FROM "nodes_nodes";
270
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
271
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'nodes_nodes';
272
+  (0.1ms) PRAGMA foreign_keys = 1
273
+  (0.0ms) begin transaction
274
+  (0.1ms) SAVEPOINT active_record_1
275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
276
+  (0.0ms) SAVEPOINT active_record_1
277
+  (0.1ms) SAVEPOINT active_record_2
278
+ SQL (0.3ms) INSERT INTO "nodes_nodes" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Celine"], ["created_at", "2017-07-13 21:36:27.095940"], ["updated_at", "2017-07-13 21:36:27.095940"]]
279
+  (0.1ms) RELEASE SAVEPOINT active_record_2
280
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
281
+  (0.1ms) rollback transaction
282
+  (0.0ms) begin transaction
283
+  (0.1ms) SAVEPOINT active_record_1
284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
285
+  (0.1ms) SAVEPOINT active_record_1
286
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
287
+  (0.0ms) rollback transaction
288
+  (0.0ms) begin transaction
289
+  (0.1ms) SAVEPOINT active_record_1
290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
291
+  (0.1ms) SAVEPOINT active_record_1
292
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
293
+  (0.0ms) rollback transaction
294
+  (0.8ms) PRAGMA foreign_keys
295
+  (0.1ms) PRAGMA foreign_keys = OFF
296
+  (6.6ms) DELETE FROM "ar_internal_metadata";
297
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
298
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
299
+  (4.7ms) DELETE FROM "nodes_nodes";
300
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
301
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'nodes_nodes';
302
+  (0.1ms) PRAGMA foreign_keys = 1
303
+  (0.0ms) begin transaction
304
+  (0.1ms) SAVEPOINT active_record_1
305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
306
+  (0.0ms) SAVEPOINT active_record_1
307
+  (0.1ms) SAVEPOINT active_record_2
308
+ SQL (0.2ms) INSERT INTO "nodes_nodes" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ozella"], ["created_at", "2017-07-13 21:36:39.764595"], ["updated_at", "2017-07-13 21:36:39.764595"]]
309
+  (0.1ms) RELEASE SAVEPOINT active_record_2
310
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
311
+  (0.1ms) rollback transaction
312
+  (0.0ms) begin transaction
313
+  (0.1ms) SAVEPOINT active_record_1
314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
315
+  (0.0ms) SAVEPOINT active_record_1
316
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
317
+  (0.0ms) rollback transaction
318
+  (0.0ms) begin transaction
319
+  (0.1ms) SAVEPOINT active_record_1
320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321
+  (0.1ms) SAVEPOINT active_record_1
322
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
323
+  (0.0ms) rollback transaction
324
+  (0.8ms) PRAGMA foreign_keys
325
+  (0.1ms) PRAGMA foreign_keys = OFF
326
+  (7.0ms) DELETE FROM "ar_internal_metadata";
327
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
328
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
329
+  (5.0ms) DELETE FROM "nodes_nodes";
330
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
331
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'nodes_nodes';
332
+  (0.1ms) PRAGMA foreign_keys = 1
333
+  (0.0ms) begin transaction
334
+  (0.1ms) SAVEPOINT active_record_1
335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
336
+  (0.0ms) SAVEPOINT active_record_1
337
+  (0.1ms) SAVEPOINT active_record_2
338
+ SQL (0.2ms) INSERT INTO "nodes_nodes" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Carolina"], ["created_at", "2017-07-13 21:38:36.628667"], ["updated_at", "2017-07-13 21:38:36.628667"]]
339
+  (0.1ms) RELEASE SAVEPOINT active_record_2
340
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
341
+  (0.1ms) rollback transaction
342
+  (0.0ms) begin transaction
343
+  (0.1ms) SAVEPOINT active_record_1
344
+  (0.0ms) RELEASE SAVEPOINT active_record_1
345
+  (0.0ms) SAVEPOINT active_record_1
346
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347
+  (0.0ms) rollback transaction
348
+  (0.0ms) begin transaction
349
+  (0.1ms) SAVEPOINT active_record_1
350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
351
+  (0.0ms) SAVEPOINT active_record_1
352
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
353
+  (0.0ms) rollback transaction
@@ -0,0 +1 @@
1
+ I"�/home/nodes/app/assets/stylesheets/nodes/application.css?type=text/css&id=0befb1f88b7f1412fc7d65325269e5c994f3330aa00a267c530e1e19d4930542:ET
@@ -0,0 +1 @@
1
+ I"�/home/nodes/app/assets/javascripts/nodes/application.js?type=application/javascript&pipeline=self&id=8ceb6a81ba90cebdf8cd50c6f0da3d0d302e4e851b922c282e83cf13f8727f25:ET
@@ -0,0 +1 @@
1
+ "%A��G �{h t�l�m�V���NE���f���
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"Jfile-digest:///home/nodes/app/assets/javascripts/nodes/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI";file-digest:///home/nodes/app/assets/javascripts/nodes;TTF
@@ -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"ofile-digest:///home/eugene/.rvm/gems/ruby-2.3.3/gems/actioncable-5.1.2/lib/assets/compiled/action_cable.js;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"Kfile-digest:///home/nodes/app/assets/stylesheets/nodes/application.css;TTI";file-digest:///home/nodes/app/assets/stylesheets/nodes;TTF
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"Jfile-digest:///home/nodes/app/assets/javascripts/nodes/application.js;TTI";file-digest:///home/nodes/app/assets/javascripts/nodes;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI"0file-digest:///home/nodes/app/assets/config;TTI"=file-digest:///home/nodes/app/assets/config/action_cable;TTI"0file-digest:///home/nodes/app/assets/images;TTI"=file-digest:///home/nodes/app/assets/images/action_cable;TTI"5file-digest:///home/nodes/app/assets/javascripts;TTI"Bfile-digest:///home/nodes/app/assets/javascripts/action_cable;TTI"5file-digest:///home/nodes/app/assets/stylesheets;TTI"Bfile-digest:///home/nodes/app/assets/stylesheets/action_cable;TTI"_file-digest:///home/eugene/.rvm/gems/ruby-2.3.3/gems/actioncable-5.1.2/lib/assets/compiled;TTI"lfile-digest:///home/eugene/.rvm/gems/ruby-2.3.3/gems/actioncable-5.1.2/lib/assets/compiled/action_cable;TTI"ofile-digest:///home/eugene/.rvm/gems/ruby-2.3.3/gems/actioncable-5.1.2/lib/assets/compiled/action_cable.js;TTI"2file-digest://app/assets/javascripts/channels;TTF
@@ -0,0 +1 @@
1
+ "%�<������X���̀#+�����,�(o���
@@ -0,0 +1 @@
1
+ I"�/home/nodes/app/assets/javascripts/nodes/application.js?type=application/javascript&pipeline=debug&id=d9436d7cdde9d6b4296f920e104dfa117e9792cfdea7e84ca720f16f6972537c:ET
@@ -0,0 +1 @@
1
+ "%E���)��x�~�[�R��/*�����f��l�*y
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=806dedb971ec3853230800a78276f1e3df6a4e7fb44254121ffd7bb3f182517e:ET
@@ -0,0 +1,2 @@
1
+ "%>L��dQ͚�cC��w���c�J̞��@]
2
+ �/?
@@ -0,0 +1 @@
1
+ I"�/home/eugene/.rvm/gems/ruby-2.3.3/gems/actioncable-5.1.2/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self&id=e0173b9a996fdd920ee8fd603e8e3445d8d290b366afc3333e4ed98dab982e92:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"Kfile-digest:///home/nodes/app/assets/stylesheets/nodes/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI";file-digest:///home/nodes/app/assets/stylesheets/nodes;TTF
@@ -0,0 +1,2 @@
1
+ "%�E�r��Z��JM=ֽek
2
+ �rX�ˊ@�KҞ$��^
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=ec22c7754a6806e840f92e3629c65a3207e2f2afa4c4e263993fa48ce8d49ed3:ET
@@ -0,0 +1,2 @@
1
+ "%��T���l�
2
+ %�`H�!o��"��}�M�g�
@@ -0,0 +1 @@
1
+ I"�/home/nodes/app/assets/stylesheets/nodes/application.css?type=text/css&pipeline=self&id=a9b9faa7ddfe40cbd2457f3e2014a5fccba995097b7e7c071865eb2708dcc061:ET
@@ -0,0 +1 @@
1
+ "%E���)��x�~�[�R��/*�����f��l�*y
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=35c8e494f812e5e3bdc6878f881216d9aa3f5bc9806210917f19eff70ed6ffe7:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"ofile-digest:///home/eugene/.rvm/gems/ruby-2.3.3/gems/actioncable-5.1.2/lib/assets/compiled/action_cable.js;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI"0file-digest:///home/nodes/app/assets/config;TTI"=file-digest:///home/nodes/app/assets/config/action_cable;TTI"0file-digest:///home/nodes/app/assets/images;TTI"=file-digest:///home/nodes/app/assets/images/action_cable;TTI"5file-digest:///home/nodes/app/assets/javascripts;TTI"Bfile-digest:///home/nodes/app/assets/javascripts/action_cable;TTI"5file-digest:///home/nodes/app/assets/stylesheets;TTI"Bfile-digest:///home/nodes/app/assets/stylesheets/action_cable;TTI"_file-digest:///home/eugene/.rvm/gems/ruby-2.3.3/gems/actioncable-5.1.2/lib/assets/compiled;TTI"lfile-digest:///home/eugene/.rvm/gems/ruby-2.3.3/gems/actioncable-5.1.2/lib/assets/compiled/action_cable;TTI"2file-digest://app/assets/javascripts/channels;TTF
@@ -0,0 +1 @@
1
+ "%��B�����șo�$'�A�d��L���xR�U
@@ -0,0 +1 @@
1
+ "%�<������X���̀#+�����,�(o���
@@ -0,0 +1 @@
1
+ I"�/home/nodes/app/assets/javascripts/nodes/application.js?type=application/javascript&id=eec5a738c8d1877add6973d9b68ecdf44179b7a61d0b0b6def49f57703ef7882:ET
@@ -0,0 +1 @@
1
+ "%�d�-�K���`���8Y��3�͹/Y����a~K
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"[processors:type=application/javascript&file_type=application/javascript&pipeline=debug;TTI"Jfile-digest:///home/nodes/app/assets/javascripts/nodes/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI";file-digest:///home/nodes/app/assets/javascripts/nodes;TTF
@@ -0,0 +1,2 @@
1
+ "%��T���l�
2
+ %�`H�!o��"��}�M�g�
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1 @@
1
+ "%E���)��x�~�[�R��/*�����f��l�*y
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=b6c145c58b71b3307a71e69572c6f91f282765e8d5ab1c2cf0e513644db8c710:ET
@@ -0,0 +1 @@
1
+ I"�/home/nodes/app/assets/stylesheets/nodes/application.css?type=text/css&pipeline=debug&id=f512701de80682ac5a62f37f254730bc0428c599798f0351a84646807459d277:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=37c33fb80f7da1b7ec6dd5e1f04747fdb6da6efef629c4d964de2c55e5ddb10b:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"?processors:type=text/css&file_type=text/css&pipeline=debug;TTI"Kfile-digest:///home/nodes/app/assets/stylesheets/nodes/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI";file-digest:///home/nodes/app/assets/stylesheets/nodes;TTF
@@ -1 +1 @@
1
- 6777
1
+ 11603
@@ -0,0 +1,5 @@
1
+ FactoryGirl.define do
2
+ factory :nodes_node, class: 'Nodes::Node' do
3
+ sequence(:name) {Faker::Name.first_name}
4
+ end
5
+ end
@@ -0,0 +1,19 @@
1
+ require 'rails_helper'
2
+
3
+ module Nodes
4
+ RSpec.describe Node, type: :model do
5
+ let(:node) { create :nodes_node }
6
+
7
+ it 'has a valid factory' do
8
+ expect(node).to be_valid
9
+ end
10
+
11
+ it 'has a valid build factory' do
12
+ expect(build(:nodes_node)).to be_valid
13
+ end
14
+
15
+ it 'is invalid without a name' do
16
+ expect(build(:nodes_node, name: nil)).not_to be_valid
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,14 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV['RAILS_ENV'] ||= 'test'
3
+ require File.expand_path('../dummy/config/environment.rb', __FILE__)
4
+ abort('The Rails environment is running in production mode!') if Rails.env.production?
5
+ require 'spec_helper'
6
+ require 'rspec/rails'
7
+ require 'database_cleaner'
8
+
9
+ RSpec.configure do |config|
10
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
11
+ config.use_transactional_fixtures = true
12
+ config.infer_spec_type_from_file_location!
13
+ config.filter_rails_from_backtrace!
14
+ end