validation_sync 0.0.5 → 0.0.6

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 (108) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/validation_sync.js +0 -1
  3. data/app/helpers/validation_sync_form_helper.rb +194 -18
  4. data/lib/validation_sync/validation_builder.rb +9 -7
  5. data/lib/validation_sync/version.rb +1 -1
  6. data/spec/dummy/app/assets/javascripts/application.js +1 -0
  7. data/spec/dummy/app/models/post.rb +1 -1
  8. data/spec/dummy/db/development.sqlite3 +0 -0
  9. data/spec/dummy/db/production.sqlite3 +0 -0
  10. data/spec/dummy/db/test.sqlite3 +0 -0
  11. data/spec/dummy/log/development.log +40 -13660
  12. data/spec/dummy/log/test.log +18 -6117
  13. data/spec/dummy/spec/models/post_spec.rb +1 -1
  14. data/spec/dummy/tmp/cache/assets/development/sprockets/{122e92d06837af295d6c941999a8d48f → 07f5a31ebed66368f3320bd38664147b} +0 -0
  15. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  16. data/spec/dummy/tmp/cache/assets/development/sprockets/18d10bb606c4e73f1534122fae75ccf5 +0 -0
  17. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  18. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  19. data/spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  20. data/spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
  21. data/spec/dummy/tmp/cache/assets/development/sprockets/555ac815791654385407d4442dfa1b7b +0 -0
  22. data/spec/dummy/tmp/cache/assets/development/sprockets/{97892dcc76bfd97e09ab26d3f7a6d522 → 5a9d98aab6468d4145bfb3679d8f46a4} +0 -0
  23. data/spec/dummy/tmp/cache/assets/development/sprockets/{04f730b2979d2f24cffafefd80e430f0 → 5ec7a8afbc75ef3680411d57bf500c10} +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sprockets/6fb95a4d04a493c1958c8112c68e30d0 +0 -0
  25. data/spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  26. data/spec/dummy/tmp/cache/assets/{test/sprockets/4a4d6fda449d6b443e5b29ccb755c732 → development/sprockets/8faea8655114d0db8275fc63435dd222} +0 -0
  27. data/spec/dummy/tmp/cache/assets/{test/sprockets/122e92d06837af295d6c941999a8d48f → development/sprockets/bdcfa382074adfcfee33a66ca60369e5} +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sprockets/{134039afc96b5a8d33c96d5da3816c1a → be8c32dfec8f23087d2a49f4c15f5a7c} +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  31. data/spec/dummy/tmp/cache/assets/development/sprockets/{c63406c52c03bbb24922ded6ebb0e0a2 → e04a185a0dd1c46d11b045fd32892630} +0 -0
  32. data/spec/dummy/tmp/cache/assets/development/sprockets/{bfaeb96080cc4d8ba400fbdcd1d4aab2 → e542415070959893cd2698159bcbd47f} +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/f25cdc0488dad06bb5942cf82c0a2575 +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  35. data/spec/features/form_interactions_spec.rb +2 -2
  36. data/spec/helpers/validation_sync_form_helper_spec.rb +19 -12
  37. data/spec/lib/validation_builder_spec.rb +5 -5
  38. metadata +57 -158
  39. data/app/assets/javascripts/generate_validations.js.erb +0 -138
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/0f11e0b3e0ece93d6c047318f2e5497d +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/0f53e3491015320ad54b7352dd6e9245 +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/10c6f05e183df4466be1e0171868fbd3 +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1 +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sprockets/254f7fcb30f60607963da8bbb320eb25 +0 -0
  46. data/spec/dummy/tmp/cache/assets/development/sprockets/256916ba749d0c14e36b55d4b382e9f5 +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/38ec44893aed52b20a20a929a47e0ad9 +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/43b02dba04222f7470018fdda830925e +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/467cb2a85cb807b3c28bacd8f6147dfc +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sprockets/4a4d6fda449d6b443e5b29ccb755c732 +0 -0
  52. data/spec/dummy/tmp/cache/assets/development/sprockets/513dd40b9b52367f54d64438a9d802b9 +0 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  54. data/spec/dummy/tmp/cache/assets/development/sprockets/56146675dbad13c72d3eb9ebd823dc11 +0 -0
  55. data/spec/dummy/tmp/cache/assets/development/sprockets/5957a00e12da95bda275e8c3565a0316 +0 -0
  56. data/spec/dummy/tmp/cache/assets/development/sprockets/62d3fdf824fa141115db660a17ab94bc +0 -0
  57. data/spec/dummy/tmp/cache/assets/development/sprockets/76cec3171960b0a527249d215835fade +0 -0
  58. data/spec/dummy/tmp/cache/assets/development/sprockets/7aaf7da4e6ec4c84cc7948fb20c35064 +0 -0
  59. data/spec/dummy/tmp/cache/assets/development/sprockets/87283d82c809770d9da81fe4e72a2abe +0 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/ba165ee56ce37f61865fe03d6503539b +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/c4f1b332263aa5004a8ac54ca9530510 +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/c71eea08c37d8da406449ab45486b070 +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/cbc66bd36b3aa4411f9ce20da0fd37a0 +0 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/cc1ff523f6e3d417ee0a9bbbfe23a69b +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/d5a2d5bfe451248efe5aa31d1c94575c +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/d7874cf8a5946ec3899e5bb627905ca5 +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/e1d4998592ddfea795aca82d742d9478 +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sprockets/0f11e0b3e0ece93d6c047318f2e5497d +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sprockets/10c6f05e183df4466be1e0171868fbd3 +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sprockets/254f7fcb30f60607963da8bbb320eb25 +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sprockets/256916ba749d0c14e36b55d4b382e9f5 +0 -0
  75. data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  76. data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  78. data/spec/dummy/tmp/cache/assets/test/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
  79. data/spec/dummy/tmp/cache/assets/test/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sprockets/56146675dbad13c72d3eb9ebd823dc11 +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sprockets/bfaeb96080cc4d8ba400fbdcd1d4aab2 +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sprockets/c4f1b332263aa5004a8ac54ca9530510 +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sprockets/d7874cf8a5946ec3899e5bb627905ca5 +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sprockets/e1d4998592ddfea795aca82d742d9478 +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  91. data/spec/dummy/tmp/capybara/capybara-201402111733312899331645.html +0 -39
  92. data/spec/dummy/tmp/capybara/capybara-201402111742049902988712.html +0 -39
  93. data/spec/dummy/tmp/capybara/capybara-201402111743461497527818.html +0 -39
  94. data/spec/dummy/tmp/capybara/capybara-201402121034216891460553.html +0 -39
  95. data/spec/dummy/tmp/capybara/capybara-201402121100145511229652.html +0 -39
  96. data/spec/dummy/tmp/capybara/capybara-20140212110749239625833.html +0 -39
  97. data/spec/dummy/tmp/capybara/capybara-201402121110009350488348.html +0 -39
  98. data/spec/dummy/tmp/capybara/capybara-201402121242315707153414.html +0 -54
  99. data/spec/dummy/tmp/capybara/capybara-2014021212463939561980.html +0 -47
  100. data/spec/dummy/tmp/capybara/capybara-201402121308362867044001.html +0 -47
  101. data/spec/dummy/tmp/capybara/capybara-201402121309286432044699.html +0 -47
  102. data/spec/dummy/tmp/capybara/capybara-201402121506235794052148.html +0 -39
  103. data/spec/dummy/tmp/capybara/capybara-201402121507316558835315.html +0 -27
  104. data/spec/dummy/tmp/capybara/capybara-201402121512202956445364.html +0 -39
  105. data/spec/dummy/tmp/capybara/capybara-201402121517176338336364.html +0 -39
  106. data/spec/dummy/tmp/capybara/capybara-201402121518121290133083.html +0 -39
  107. data/spec/dummy/tmp/pids/server.pid +0 -1
  108. data/spec/features/generate_validations_spec.rb +0 -26
@@ -1,47 +0,0 @@
1
- <!DOCTYPE html><html><head>
2
- <title>Dummy</title>
3
- <link data-turbolinks-track="true" href="/assets/application.css" media="all" rel="stylesheet">
4
- <script data-turbolinks-track="true" src="/assets/application.js"></script>
5
-
6
- </head>
7
- <body>
8
-
9
- <h1>New post</h1>
10
-
11
- <form accept-charset="UTF-8" action="/posts" class="new_post" data-sync-validations="true" id="new_post" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"></div>
12
-
13
- <div class="field">
14
- <label for="post_title">Title</label><br>
15
- <input id="post_title" name="post[title]" type="text" class="valid">
16
- </div>
17
- <div class="field">
18
- <label for="post_content">Content</label><br>
19
- <textarea id="post_content" name="post[content]" class="valid"></textarea>
20
- </div>
21
- <div class="field">
22
- <label for="post_view_count">View count</label><br>
23
- <input id="post_view_count" name="post[view_count]" type="text" class="valid">
24
- </div>
25
- <div class="field">
26
- <label for="post_order">Order</label><br>
27
- <input id="post_order" name="post[order]" type="text" class="valid">
28
- </div>
29
- <div class="field">
30
- <label for="post_author_email">Author email</label><br>
31
- <input id="post_author_email" name="post[author_email]" type="text" class="error"><label for="post_author_email" class="error"></label>
32
- </div>
33
- <div class="field">
34
- <label for="post_user_id">User</label><br>
35
- <input id="post_user_id" name="post[user_id]" type="text" class="error"><label for="post_user_id" class="error"></label>
36
- </div>
37
- <div class="actions">
38
- <input name="commit" type="submit" value="Create Post">
39
- </div>
40
- </form>
41
-
42
- <a href="/posts">Back</a>
43
-
44
-
45
-
46
-
47
- </body></html>
@@ -1,47 +0,0 @@
1
- <!DOCTYPE html><html><head>
2
- <title>Dummy</title>
3
- <link data-turbolinks-track="true" href="/assets/application.css" media="all" rel="stylesheet">
4
- <script data-turbolinks-track="true" src="/assets/application.js"></script>
5
-
6
- </head>
7
- <body>
8
-
9
- <h1>New post</h1>
10
-
11
- <form accept-charset="UTF-8" action="/posts" class="new_post" data-sync-validations="true" id="new_post" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"></div>
12
-
13
- <div class="field">
14
- <label for="post_title">Title</label><br>
15
- <input id="post_title" name="post[title]" type="text" class="valid">
16
- </div>
17
- <div class="field">
18
- <label for="post_content">Content</label><br>
19
- <textarea id="post_content" name="post[content]" class="valid"></textarea>
20
- </div>
21
- <div class="field">
22
- <label for="post_view_count">View count</label><br>
23
- <input id="post_view_count" name="post[view_count]" type="text" class="valid">
24
- </div>
25
- <div class="field">
26
- <label for="post_order">Order</label><br>
27
- <input id="post_order" name="post[order]" type="text" class="valid">
28
- </div>
29
- <div class="field">
30
- <label for="post_author_email">Author email</label><br>
31
- <input id="post_author_email" name="post[author_email]" type="text" class="error"><label for="post_author_email" class="error"></label>
32
- </div>
33
- <div class="field">
34
- <label for="post_user_id">User</label><br>
35
- <input id="post_user_id" name="post[user_id]" type="text" class="valid">
36
- </div>
37
- <div class="actions">
38
- <input name="commit" type="submit" value="Create Post">
39
- </div>
40
- </form>
41
-
42
- <a href="/posts">Back</a>
43
-
44
-
45
-
46
-
47
- </body></html>
@@ -1,39 +0,0 @@
1
- <!DOCTYPE html><html><head>
2
- <title>Dummy</title>
3
- <link data-turbolinks-track="true" href="/assets/application.css" media="all" rel="stylesheet">
4
- <script data-turbolinks-track="true" src="/assets/application.js"></script>
5
-
6
- </head>
7
- <body>
8
-
9
- <h1>New user</h1>
10
-
11
- <form accept-charset="UTF-8" action="/users" class="new_user" data-sync-validations="true" id="new_user" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"></div>
12
-
13
- <div class="field">
14
- <label for="user_email">Email</label><br>
15
- <input id="user_email" name="user[email]" type="text" class="error"><label for="user_email" class="error">Please enter the same value again.</label>
16
- </div>
17
- <div class="field">
18
- <label for="user_email_confirmation">Email confirmation</label><br>
19
- <input id="user_email_confirmation" name="user[email_confirmation]" type="text" class="valid">
20
- </div>
21
- <div class="field">
22
- <label for="user_password">Password</label><br>
23
- <textarea id="user_password" name="user[password]" class="error"></textarea><label for="user_password" class="error">Please enter the same value again.</label>
24
- </div>
25
- <div class="field">
26
- <label for="user_password_confirmation">Password confirmation</label><br>
27
- <input id="user_password_confirmation" name="user[password_confirmation]" type="text" class="valid">
28
- </div>
29
- <div class="actions">
30
- <input name="commit" type="submit" value="Create User">
31
- </div>
32
- </form>
33
-
34
- <a href="/users">Back</a>
35
-
36
-
37
-
38
-
39
- </body></html>
@@ -1,27 +0,0 @@
1
- <!DOCTYPE html><html><head>
2
- <title>Dummy</title>
3
- <link data-turbolinks-track="true" href="/assets/application.css" media="all" rel="stylesheet">
4
- <script data-turbolinks-track="true" src="/assets/application.js"></script>
5
-
6
- </head>
7
- <body>
8
-
9
- <p id="notice">User was successfully created.</p>
10
-
11
- <p>
12
- <strong>Email:</strong>
13
- email4@example.com
14
- </p>
15
-
16
- <p>
17
- <strong>Password:</strong>
18
- password!
19
- </p>
20
-
21
- <a href="/users/29/edit">Edit</a> |
22
- <a href="/users">Back</a>
23
-
24
-
25
-
26
-
27
- </body></html>
@@ -1,39 +0,0 @@
1
- <!DOCTYPE html><html><head>
2
- <title>Dummy</title>
3
- <link data-turbolinks-track="true" href="/assets/application.css" media="all" rel="stylesheet">
4
- <script data-turbolinks-track="true" src="/assets/application.js"></script>
5
-
6
- </head>
7
- <body>
8
-
9
- <h1>New user</h1>
10
-
11
- <form accept-charset="UTF-8" action="/users" class="new_user" data-sync-validations="true" id="new_user" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"></div>
12
-
13
- <div class="field">
14
- <label for="user_email">Email</label><br>
15
- <input id="user_email" name="user[email]" type="text" class="error"><label for="user_email" class="error"></label>
16
- </div>
17
- <div class="field">
18
- <label for="user_email_confirmation">Email confirmation</label><br>
19
- <input id="user_email_confirmation" name="user[email_confirmation]" type="text" class="valid">
20
- </div>
21
- <div class="field">
22
- <label for="user_password">Password</label><br>
23
- <textarea id="user_password" name="user[password]" class="error"></textarea><label for="user_password" class="error">Confirm your password, bitch!</label>
24
- </div>
25
- <div class="field">
26
- <label for="user_password_confirmation">Password confirmation</label><br>
27
- <input id="user_password_confirmation" name="user[password_confirmation]" type="text" class="valid">
28
- </div>
29
- <div class="actions">
30
- <input name="commit" type="submit" value="Create User">
31
- </div>
32
- </form>
33
-
34
- <a href="/users">Back</a>
35
-
36
-
37
-
38
-
39
- </body></html>
@@ -1,39 +0,0 @@
1
- <!DOCTYPE html><html><head>
2
- <title>Dummy</title>
3
- <link data-turbolinks-track="true" href="/assets/application.css" media="all" rel="stylesheet">
4
- <script data-turbolinks-track="true" src="/assets/application.js"></script>
5
-
6
- </head>
7
- <body>
8
-
9
- <h1>New user</h1>
10
-
11
- <form accept-charset="UTF-8" action="/users" class="new_user" data-sync-validations="true" id="new_user" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"></div>
12
-
13
- <div class="field">
14
- <label for="user_email">Email</label><br>
15
- <input id="user_email" name="user[email]" type="text" class="valid"><label for="user_email" class="error" style="display: none; ">Please enter the same value again.</label>
16
- </div>
17
- <div class="field">
18
- <label for="user_email_confirmation">Email confirmation</label><br>
19
- <input id="user_email_confirmation" name="user[email_confirmation]" type="text" class="valid">
20
- </div>
21
- <div class="field">
22
- <label for="user_password">Password</label><br>
23
- <input id="user_password" name="user[password]" type="text" class="error"><label for="user_password" class="error">Please enter the same value again.</label>
24
- </div>
25
- <div class="field">
26
- <label for="user_password_confirmation">Password confirmation</label><br>
27
- <input id="user_password_confirmation" name="user[password_confirmation]" type="text" class="valid">
28
- </div>
29
- <div class="actions">
30
- <input name="commit" type="submit" value="Create User">
31
- </div>
32
- </form>
33
-
34
- <a href="/users">Back</a>
35
-
36
-
37
-
38
-
39
- </body></html>
@@ -1,39 +0,0 @@
1
- <!DOCTYPE html><html><head>
2
- <title>Dummy</title>
3
- <link data-turbolinks-track="true" href="/assets/application.css" media="all" rel="stylesheet">
4
- <script data-turbolinks-track="true" src="/assets/application.js"></script>
5
-
6
- </head>
7
- <body>
8
-
9
- <h1>New user</h1>
10
-
11
- <form accept-charset="UTF-8" action="/users" class="new_user" data-sync-validations="true" id="new_user" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓"></div>
12
-
13
- <div class="field">
14
- <label for="user_email">Email</label><br>
15
- <input id="user_email" name="user[email]" type="text" class="valid"><label for="user_email" class="error" style="display: none; ">Please enter the same value again.</label>
16
- </div>
17
- <div class="field">
18
- <label for="user_email_confirmation">Email confirmation</label><br>
19
- <input id="user_email_confirmation" name="user[email_confirmation]" type="text" class="valid">
20
- </div>
21
- <div class="field">
22
- <label for="user_password">Password</label><br>
23
- <input id="user_password" name="user[password]" type="text" class="error"><label for="user_password" class="error">Please enter the same value again.</label>
24
- </div>
25
- <div class="field">
26
- <label for="user_password_confirmation">Password confirmation</label><br>
27
- <input id="user_password_confirmation" name="user[password_confirmation]" type="text" class="valid">
28
- </div>
29
- <div class="actions">
30
- <input name="commit" type="submit" value="Create User">
31
- </div>
32
- </form>
33
-
34
- <a href="/users">Back</a>
35
-
36
-
37
-
38
-
39
- </body></html>
@@ -1 +0,0 @@
1
- 13129
@@ -1,26 +0,0 @@
1
- # require 'spec_helper'
2
-
3
- # describe "Generating Validation JS" do
4
-
5
- # before :each do
6
- # visit "/assets/generate_validations.js"
7
- # end
8
-
9
-
10
-
11
- # describe "creating a method for each model" do
12
-
13
- # it "wraps the page in a function" do
14
- # expect(page).to have_content "ValidationSync"
15
- # end
16
-
17
- # it "creates an init method for each ActiveRecord model" do
18
- # expect(page).to have_content "validatePost"
19
- # expect(page).to have_content "validateUser"
20
- # end
21
-
22
- # end # creating a method for each model
23
-
24
-
25
-
26
- # end # Generating Validation JS