ezii-os 0.0.0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/Icon/r +0 -0
  3. data/app/assets/stylesheets/apis.scss +3 -0
  4. data/app/assets/stylesheets/basecamp_integrations.scss +3 -0
  5. data/app/assets/stylesheets/code_link_batches.scss +3 -0
  6. data/app/assets/stylesheets/code_link_types.scss +3 -0
  7. data/app/assets/stylesheets/code_links.scss +3 -0
  8. data/app/assets/stylesheets/codes.scss +3 -0
  9. data/app/assets/stylesheets/cookie_changes.scss +3 -0
  10. data/app/assets/stylesheets/partners/get_paids.scss +3 -0
  11. data/app/assets/stylesheets/searches.scss +3 -0
  12. data/app/assets/stylesheets/types.scss +3 -0
  13. data/app/controllers/apis_controller.rb +74 -0
  14. data/app/controllers/basecamp_integrations_controller.rb +76 -0
  15. data/app/controllers/code_link_batches_controller.rb +74 -0
  16. data/app/controllers/code_link_types_controller.rb +74 -0
  17. data/app/controllers/code_links_controller.rb +74 -0
  18. data/app/controllers/codes_controller.rb +74 -0
  19. data/app/controllers/cookie_changes_controller.rb +78 -0
  20. data/app/controllers/directories_controller.rb +14 -14
  21. data/app/controllers/ezii_os_files_controller.rb +14 -1
  22. data/app/controllers/partners/get_paids_controller.rb +74 -0
  23. data/app/controllers/searches_controller.rb +74 -0
  24. data/app/controllers/types_controller.rb +74 -0
  25. data/app/helpers/apis_helper.rb +2 -0
  26. data/app/helpers/basecamp_integrations_helper.rb +2 -0
  27. data/app/helpers/code_link_batches_helper.rb +2 -0
  28. data/app/helpers/code_link_types_helper.rb +2 -0
  29. data/app/helpers/code_links_helper.rb +2 -0
  30. data/app/helpers/codes_helper.rb +2 -0
  31. data/app/helpers/cookie_changes_helper.rb +2 -0
  32. data/app/helpers/partners/get_paids_helper.rb +2 -0
  33. data/app/helpers/searches_helper.rb +2 -0
  34. data/app/helpers/types_helper.rb +2 -0
  35. data/app/models/api.rb +3 -0
  36. data/app/models/basecamp_integration.rb +2 -0
  37. data/app/models/code.rb +3 -0
  38. data/app/models/code_link.rb +3 -0
  39. data/app/models/code_link_batch.rb +3 -0
  40. data/app/models/code_link_type.rb +3 -0
  41. data/app/models/cookie_change.rb +2 -0
  42. data/app/models/partners/get_paid.rb +2 -0
  43. data/app/models/partners.rb +5 -0
  44. data/app/models/search.rb +2 -0
  45. data/app/models/type.rb +3 -0
  46. data/app/views/apis/_api.json.jbuilder +2 -0
  47. data/app/views/apis/_form.html.erb +32 -0
  48. data/app/views/apis/edit.html.erb +6 -0
  49. data/app/views/apis/index.html.erb +31 -0
  50. data/app/views/apis/index.json.jbuilder +1 -0
  51. data/app/views/apis/new.html.erb +5 -0
  52. data/app/views/apis/show.html.erb +19 -0
  53. data/app/views/apis/show.json.jbuilder +1 -0
  54. data/app/views/basecamp_integrations/_basecamp_integration.json.jbuilder +2 -0
  55. data/app/views/basecamp_integrations/_form.html.erb +27 -0
  56. data/app/views/basecamp_integrations/edit.html.erb +6 -0
  57. data/app/views/basecamp_integrations/index.html.erb +29 -0
  58. data/app/views/basecamp_integrations/index.json.jbuilder +1 -0
  59. data/app/views/basecamp_integrations/new.html.erb +5 -0
  60. data/app/views/basecamp_integrations/show.html.erb +14 -0
  61. data/app/views/basecamp_integrations/show.json.jbuilder +1 -0
  62. data/app/views/code_link_batches/_code_link_batch.json.jbuilder +2 -0
  63. data/app/views/code_link_batches/_form.html.erb +27 -0
  64. data/app/views/code_link_batches/edit.html.erb +6 -0
  65. data/app/views/code_link_batches/index.html.erb +29 -0
  66. data/app/views/code_link_batches/index.json.jbuilder +1 -0
  67. data/app/views/code_link_batches/new.html.erb +5 -0
  68. data/app/views/code_link_batches/show.html.erb +14 -0
  69. data/app/views/code_link_batches/show.json.jbuilder +1 -0
  70. data/app/views/code_link_types/_code_link_type.json.jbuilder +2 -0
  71. data/app/views/code_link_types/_form.html.erb +27 -0
  72. data/app/views/code_link_types/edit.html.erb +6 -0
  73. data/app/views/code_link_types/index.html.erb +29 -0
  74. data/app/views/code_link_types/index.json.jbuilder +1 -0
  75. data/app/views/code_link_types/new.html.erb +5 -0
  76. data/app/views/code_link_types/show.html.erb +14 -0
  77. data/app/views/code_link_types/show.json.jbuilder +1 -0
  78. data/app/views/code_links/_code_link.json.jbuilder +2 -0
  79. data/app/views/code_links/_form.html.erb +32 -0
  80. data/app/views/code_links/edit.html.erb +6 -0
  81. data/app/views/code_links/index.html.erb +31 -0
  82. data/app/views/code_links/index.json.jbuilder +1 -0
  83. data/app/views/code_links/new.html.erb +5 -0
  84. data/app/views/code_links/show.html.erb +19 -0
  85. data/app/views/code_links/show.json.jbuilder +1 -0
  86. data/app/views/codes/_code.json.jbuilder +2 -0
  87. data/app/views/codes/_form.html.erb +32 -0
  88. data/app/views/codes/edit.html.erb +6 -0
  89. data/app/views/codes/index.html.erb +31 -0
  90. data/app/views/codes/index.json.jbuilder +1 -0
  91. data/app/views/codes/new.html.erb +5 -0
  92. data/app/views/codes/show.html.erb +19 -0
  93. data/app/views/codes/show.json.jbuilder +1 -0
  94. data/app/views/cookie_changes/_cookie_change.json.jbuilder +2 -0
  95. data/app/views/cookie_changes/_form.html.erb +27 -0
  96. data/app/views/cookie_changes/edit.html.erb +6 -0
  97. data/app/views/cookie_changes/index.html.erb +29 -0
  98. data/app/views/cookie_changes/index.json.jbuilder +1 -0
  99. data/app/views/cookie_changes/new.html.erb +5 -0
  100. data/app/views/cookie_changes/show.html.erb +14 -0
  101. data/app/views/cookie_changes/show.json.jbuilder +1 -0
  102. data/app/views/directories/show.html.erb +6 -1
  103. data/app/views/ezii_os_files/_wit_ai_widget.html.erb +203 -49
  104. data/app/views/ezii_os_files/show.html.erb +6 -9
  105. data/app/views/layouts/application.html.erb +212 -52
  106. data/app/views/partners/get_paids/_form.html.erb +27 -0
  107. data/app/views/partners/get_paids/_partners_get_paid.json.jbuilder +2 -0
  108. data/app/views/partners/get_paids/edit.html.erb +6 -0
  109. data/app/views/partners/get_paids/index.html.erb +29 -0
  110. data/app/views/partners/get_paids/index.json.jbuilder +1 -0
  111. data/app/views/partners/get_paids/new.html.erb +5 -0
  112. data/app/views/partners/get_paids/show.html.erb +14 -0
  113. data/app/views/partners/get_paids/show.json.jbuilder +1 -0
  114. data/app/views/searches/_form.html.erb +22 -0
  115. data/app/views/searches/_search.json.jbuilder +2 -0
  116. data/app/views/searches/edit.html.erb +6 -0
  117. data/app/views/searches/index.html.erb +27 -0
  118. data/app/views/searches/index.json.jbuilder +1 -0
  119. data/app/views/searches/new.html.erb +5 -0
  120. data/app/views/searches/show.html.erb +9 -0
  121. data/app/views/searches/show.json.jbuilder +1 -0
  122. data/app/views/types/_form.html.erb +22 -0
  123. data/app/views/types/_type.json.jbuilder +2 -0
  124. data/app/views/types/edit.html.erb +6 -0
  125. data/app/views/types/index.html.erb +27 -0
  126. data/app/views/types/index.json.jbuilder +1 -0
  127. data/app/views/types/new.html.erb +5 -0
  128. data/app/views/types/show.html.erb +9 -0
  129. data/app/views/types/show.json.jbuilder +1 -0
  130. data/config/credentials.yml.enc +1 -1
  131. data/config/routes.rb +12 -0
  132. data/db/development.sqlite3 +0 -0
  133. data/db/migrate/20190827060151_create_searches.rb +9 -0
  134. data/db/migrate/20190827063427_create_partners_get_paids.rb +10 -0
  135. data/db/migrate/20190827180750_create_basecamp_integrations.rb +10 -0
  136. data/db/migrate/20190827180751_create_types.rb +9 -0
  137. data/db/migrate/20190827180752_create_code_link_types.rb +10 -0
  138. data/db/migrate/20190827180753_create_code_links.rb +11 -0
  139. data/db/migrate/20190827180754_create_codes.rb +11 -0
  140. data/db/migrate/20190828104427_create_apis.rb +12 -0
  141. data/db/migrate/20190828105156_create_code_link_batches.rb +10 -0
  142. data/db/migrate/20190829174432_create_cookie_changes.rb +10 -0
  143. data/db/schema.rb +88 -1
  144. data/db/seeds.rb +4 -0
  145. data/db/test.sqlite3 +0 -0
  146. data/ezii-os-0.0.0.1.0.gem +0 -0
  147. data/ezii-os.gemspec +1 -1
  148. data/lib/tasks/task.rake +5 -0
  149. data/log/development.log +13283 -0
  150. data/test/controllers/apis_controller_test.rb +48 -0
  151. data/test/controllers/basecamp_integrations_controller_test.rb +48 -0
  152. data/test/controllers/code_link_batches_controller_test.rb +48 -0
  153. data/test/controllers/code_link_types_controller_test.rb +48 -0
  154. data/test/controllers/code_links_controller_test.rb +48 -0
  155. data/test/controllers/codes_controller_test.rb +48 -0
  156. data/test/controllers/cookie_changes_controller_test.rb +48 -0
  157. data/test/controllers/partners/get_paids_controller_test.rb +48 -0
  158. data/test/controllers/searches_controller_test.rb +48 -0
  159. data/test/controllers/types_controller_test.rb +48 -0
  160. data/test/fixtures/apis.yml +11 -0
  161. data/test/fixtures/basecamp_integrations.yml +9 -0
  162. data/test/fixtures/code_link_batches.yml +9 -0
  163. data/test/fixtures/code_link_types.yml +9 -0
  164. data/test/fixtures/code_links.yml +11 -0
  165. data/test/fixtures/codes.yml +11 -0
  166. data/test/fixtures/cookie_changes.yml +9 -0
  167. data/test/fixtures/partners/get_paids.yml +9 -0
  168. data/test/fixtures/searches.yml +7 -0
  169. data/test/fixtures/types.yml +7 -0
  170. data/test/models/api_test.rb +7 -0
  171. data/test/models/basecamp_integration_test.rb +7 -0
  172. data/test/models/code_link_batch_test.rb +7 -0
  173. data/test/models/code_link_test.rb +7 -0
  174. data/test/models/code_link_type_test.rb +7 -0
  175. data/test/models/code_test.rb +7 -0
  176. data/test/models/cookie_change_test.rb +7 -0
  177. data/test/models/partners/get_paid_test.rb +7 -0
  178. data/test/models/search_test.rb +7 -0
  179. data/test/models/type_test.rb +7 -0
  180. data/test/system/apis_test.rb +47 -0
  181. data/test/system/basecamp_integrations_test.rb +45 -0
  182. data/test/system/code_link_batches_test.rb +45 -0
  183. data/test/system/code_link_types_test.rb +45 -0
  184. data/test/system/code_links_test.rb +47 -0
  185. data/test/system/codes_test.rb +47 -0
  186. data/test/system/cookie_changes_test.rb +45 -0
  187. data/test/system/partners/get_paids_test.rb +45 -0
  188. data/test/system/searches_test.rb +43 -0
  189. data/test/system/types_test.rb +43 -0
  190. metadata +176 -1
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class ApisControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @api = apis(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get apis_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_api_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create api" do
19
+ assert_difference('Api.count') do
20
+ post apis_url, params: { api: { code_id: @api.code_id, rfc: @api.rfc, rftrolling_foreign_key: @api.rftrolling_foreign_key } }
21
+ end
22
+
23
+ assert_redirected_to api_url(Api.last)
24
+ end
25
+
26
+ test "should show api" do
27
+ get api_url(@api)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_api_url(@api)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update api" do
37
+ patch api_url(@api), params: { api: { code_id: @api.code_id, rfc: @api.rfc, rftrolling_foreign_key: @api.rftrolling_foreign_key } }
38
+ assert_redirected_to api_url(@api)
39
+ end
40
+
41
+ test "should destroy api" do
42
+ assert_difference('Api.count', -1) do
43
+ delete api_url(@api)
44
+ end
45
+
46
+ assert_redirected_to apis_url
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class BasecampIntegrationsControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @basecamp_integration = basecamp_integrations(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get basecamp_integrations_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_basecamp_integration_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create basecamp_integration" do
19
+ assert_difference('BasecampIntegration.count') do
20
+ post basecamp_integrations_url, params: { basecamp_integration: { code: @basecamp_integration.code, description: @basecamp_integration.description } }
21
+ end
22
+
23
+ assert_redirected_to basecamp_integration_url(BasecampIntegration.last)
24
+ end
25
+
26
+ test "should show basecamp_integration" do
27
+ get basecamp_integration_url(@basecamp_integration)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_basecamp_integration_url(@basecamp_integration)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update basecamp_integration" do
37
+ patch basecamp_integration_url(@basecamp_integration), params: { basecamp_integration: { code: @basecamp_integration.code, description: @basecamp_integration.description } }
38
+ assert_redirected_to basecamp_integration_url(@basecamp_integration)
39
+ end
40
+
41
+ test "should destroy basecamp_integration" do
42
+ assert_difference('BasecampIntegration.count', -1) do
43
+ delete basecamp_integration_url(@basecamp_integration)
44
+ end
45
+
46
+ assert_redirected_to basecamp_integrations_url
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class CodeLinkBatchesControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @code_link_batch = code_link_batches(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get code_link_batches_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_code_link_batch_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create code_link_batch" do
19
+ assert_difference('CodeLinkBatch.count') do
20
+ post code_link_batches_url, params: { code_link_batch: { code_link_id: @code_link_batch.code_link_id, description: @code_link_batch.description } }
21
+ end
22
+
23
+ assert_redirected_to code_link_batch_url(CodeLinkBatch.last)
24
+ end
25
+
26
+ test "should show code_link_batch" do
27
+ get code_link_batch_url(@code_link_batch)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_code_link_batch_url(@code_link_batch)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update code_link_batch" do
37
+ patch code_link_batch_url(@code_link_batch), params: { code_link_batch: { code_link_id: @code_link_batch.code_link_id, description: @code_link_batch.description } }
38
+ assert_redirected_to code_link_batch_url(@code_link_batch)
39
+ end
40
+
41
+ test "should destroy code_link_batch" do
42
+ assert_difference('CodeLinkBatch.count', -1) do
43
+ delete code_link_batch_url(@code_link_batch)
44
+ end
45
+
46
+ assert_redirected_to code_link_batches_url
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class CodeLinkTypesControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @code_link_type = code_link_types(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get code_link_types_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_code_link_type_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create code_link_type" do
19
+ assert_difference('CodeLinkType.count') do
20
+ post code_link_types_url, params: { code_link_type: { type_description: @code_link_type.type_description, type_id: @code_link_type.type_id } }
21
+ end
22
+
23
+ assert_redirected_to code_link_type_url(CodeLinkType.last)
24
+ end
25
+
26
+ test "should show code_link_type" do
27
+ get code_link_type_url(@code_link_type)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_code_link_type_url(@code_link_type)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update code_link_type" do
37
+ patch code_link_type_url(@code_link_type), params: { code_link_type: { type_description: @code_link_type.type_description, type_id: @code_link_type.type_id } }
38
+ assert_redirected_to code_link_type_url(@code_link_type)
39
+ end
40
+
41
+ test "should destroy code_link_type" do
42
+ assert_difference('CodeLinkType.count', -1) do
43
+ delete code_link_type_url(@code_link_type)
44
+ end
45
+
46
+ assert_redirected_to code_link_types_url
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class CodeLinksControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @code_link = code_links(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get code_links_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_code_link_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create code_link" do
19
+ assert_difference('CodeLink.count') do
20
+ post code_links_url, params: { code_link: { code_link_type_id: @code_link.code_link_type_id, description: @code_link.description, link: @code_link.link } }
21
+ end
22
+
23
+ assert_redirected_to code_link_url(CodeLink.last)
24
+ end
25
+
26
+ test "should show code_link" do
27
+ get code_link_url(@code_link)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_code_link_url(@code_link)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update code_link" do
37
+ patch code_link_url(@code_link), params: { code_link: { code_link_type_id: @code_link.code_link_type_id, description: @code_link.description, link: @code_link.link } }
38
+ assert_redirected_to code_link_url(@code_link)
39
+ end
40
+
41
+ test "should destroy code_link" do
42
+ assert_difference('CodeLink.count', -1) do
43
+ delete code_link_url(@code_link)
44
+ end
45
+
46
+ assert_redirected_to code_links_url
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class CodesControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @code = codes(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get codes_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_code_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create code" do
19
+ assert_difference('Code.count') do
20
+ post codes_url, params: { code: { code_links_id: @code.code_links_id, gist_link: @code.gist_link, github_link: @code.github_link } }
21
+ end
22
+
23
+ assert_redirected_to code_url(Code.last)
24
+ end
25
+
26
+ test "should show code" do
27
+ get code_url(@code)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_code_url(@code)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update code" do
37
+ patch code_url(@code), params: { code: { code_links_id: @code.code_links_id, gist_link: @code.gist_link, github_link: @code.github_link } }
38
+ assert_redirected_to code_url(@code)
39
+ end
40
+
41
+ test "should destroy code" do
42
+ assert_difference('Code.count', -1) do
43
+ delete code_url(@code)
44
+ end
45
+
46
+ assert_redirected_to codes_url
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class CookieChangesControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @cookie_change = cookie_changes(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get cookie_changes_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_cookie_change_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create cookie_change" do
19
+ assert_difference('CookieChange.count') do
20
+ post cookie_changes_url, params: { cookie_change: { identifier: @cookie_change.identifier, value: @cookie_change.value } }
21
+ end
22
+
23
+ assert_redirected_to cookie_change_url(CookieChange.last)
24
+ end
25
+
26
+ test "should show cookie_change" do
27
+ get cookie_change_url(@cookie_change)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_cookie_change_url(@cookie_change)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update cookie_change" do
37
+ patch cookie_change_url(@cookie_change), params: { cookie_change: { identifier: @cookie_change.identifier, value: @cookie_change.value } }
38
+ assert_redirected_to cookie_change_url(@cookie_change)
39
+ end
40
+
41
+ test "should destroy cookie_change" do
42
+ assert_difference('CookieChange.count', -1) do
43
+ delete cookie_change_url(@cookie_change)
44
+ end
45
+
46
+ assert_redirected_to cookie_changes_url
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class Partners::GetPaidsControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @partners_get_paid = partners_get_paids(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get partners_get_paids_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_partners_get_paid_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create partners_get_paid" do
19
+ assert_difference('Partners::GetPaid.count') do
20
+ post partners_get_paids_url, params: { partners_get_paid: { enter_invoice_number: @partners_get_paid.enter_invoice_number, you_will_receive_this_when_question_mark: @partners_get_paid.you_will_receive_this_when_question_mark } }
21
+ end
22
+
23
+ assert_redirected_to partners_get_paid_url(Partners::GetPaid.last)
24
+ end
25
+
26
+ test "should show partners_get_paid" do
27
+ get partners_get_paid_url(@partners_get_paid)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_partners_get_paid_url(@partners_get_paid)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update partners_get_paid" do
37
+ patch partners_get_paid_url(@partners_get_paid), params: { partners_get_paid: { enter_invoice_number: @partners_get_paid.enter_invoice_number, you_will_receive_this_when_question_mark: @partners_get_paid.you_will_receive_this_when_question_mark } }
38
+ assert_redirected_to partners_get_paid_url(@partners_get_paid)
39
+ end
40
+
41
+ test "should destroy partners_get_paid" do
42
+ assert_difference('Partners::GetPaid.count', -1) do
43
+ delete partners_get_paid_url(@partners_get_paid)
44
+ end
45
+
46
+ assert_redirected_to partners_get_paids_url
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class SearchesControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @search = searches(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get searches_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_search_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create search" do
19
+ assert_difference('Search.count') do
20
+ post searches_url, params: { search: { query: @search.query } }
21
+ end
22
+
23
+ assert_redirected_to search_url(Search.last)
24
+ end
25
+
26
+ test "should show search" do
27
+ get search_url(@search)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_search_url(@search)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update search" do
37
+ patch search_url(@search), params: { search: { query: @search.query } }
38
+ assert_redirected_to search_url(@search)
39
+ end
40
+
41
+ test "should destroy search" do
42
+ assert_difference('Search.count', -1) do
43
+ delete search_url(@search)
44
+ end
45
+
46
+ assert_redirected_to searches_url
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ require 'test_helper'
2
+
3
+ class TypesControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @type = types(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get types_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_type_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create type" do
19
+ assert_difference('Type.count') do
20
+ post types_url, params: { type: { code_id: @type.code_id } }
21
+ end
22
+
23
+ assert_redirected_to type_url(Type.last)
24
+ end
25
+
26
+ test "should show type" do
27
+ get type_url(@type)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_type_url(@type)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update type" do
37
+ patch type_url(@type), params: { type: { code_id: @type.code_id } }
38
+ assert_redirected_to type_url(@type)
39
+ end
40
+
41
+ test "should destroy type" do
42
+ assert_difference('Type.count', -1) do
43
+ delete type_url(@type)
44
+ end
45
+
46
+ assert_redirected_to types_url
47
+ end
48
+ end
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ rfc: MyText
5
+ rftrolling_foreign_key: 1
6
+ code: one
7
+
8
+ two:
9
+ rfc: MyText
10
+ rftrolling_foreign_key: 1
11
+ code: two
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ description: MyString
5
+ code: MyText
6
+
7
+ two:
8
+ description: MyString
9
+ code: MyText
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ description: MyString
5
+ code_link: one
6
+
7
+ two:
8
+ description: MyString
9
+ code_link: two
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ type_description: MyText
5
+ type: one
6
+
7
+ two:
8
+ type_description: MyText
9
+ type: two
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ link: MyText
5
+ code_link_type: one
6
+ description: MyText
7
+
8
+ two:
9
+ link: MyText
10
+ code_link_type: two
11
+ description: MyText
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ github_link: MyString
5
+ gist_link: MyString
6
+ code_links: one
7
+
8
+ two:
9
+ github_link: MyString
10
+ gist_link: MyString
11
+ code_links: two
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ identifier: MyString
5
+ value: MyString
6
+
7
+ two:
8
+ identifier: MyString
9
+ value: MyString
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ enter_invoice_number: 1
5
+ you_will_receive_this_when_question_mark: MyString
6
+
7
+ two:
8
+ enter_invoice_number: 1
9
+ you_will_receive_this_when_question_mark: MyString
@@ -0,0 +1,7 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ query: MyString
5
+
6
+ two:
7
+ query: MyString
@@ -0,0 +1,7 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ code: one
5
+
6
+ two:
7
+ code: two
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class ApiTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class BasecampIntegrationTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class CodeLinkBatchTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class CodeLinkTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class CodeLinkTypeTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class CodeTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class CookieChangeTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class Partners::GetPaidTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class SearchTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class TypeTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end