tabulous 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (792) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +9 -0
  3. data/CHANGELOG.md +3 -0
  4. data/CONTRIBUTING.md +1 -1
  5. data/README.md +1 -1
  6. data/Rakefile +4 -1
  7. data/lib/generators/tabs/templates/tabulous.rb +1 -0
  8. data/lib/tabulous/version.rb +1 -1
  9. data/script/for_all_test_apps +3 -1
  10. data/spec/applications/bootstrap/rails_4-2-0/.gitignore +17 -0
  11. data/spec/applications/bootstrap/rails_4-2-0/Gemfile +26 -0
  12. data/spec/applications/bootstrap/rails_4-2-0/README.rdoc +28 -0
  13. data/spec/applications/bootstrap/rails_4-2-0/Rakefile +6 -0
  14. data/spec/applications/bootstrap/rails_4-2-0/app/assets/images/.keep +0 -0
  15. data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/application.js +16 -0
  16. data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
  17. data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
  18. data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/no_tabs.coffee +3 -0
  19. data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
  20. data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
  21. data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/subtabs.coffee +3 -0
  22. data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/application.scss +19 -0
  23. data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
  24. data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
  25. data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/no_tabs.scss +3 -0
  26. data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
  27. data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
  28. data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
  29. data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/subtabs.scss +3 -0
  30. data/spec/applications/bootstrap/rails_4-2-0/app/controllers/application_controller.rb +5 -0
  31. data/spec/applications/bootstrap/rails_4-2-0/app/controllers/concerns/.keep +0 -0
  32. data/spec/applications/bootstrap/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
  33. data/spec/applications/bootstrap/rails_4-2-0/app/controllers/home_controller.rb +4 -0
  34. data/spec/applications/bootstrap/rails_4-2-0/app/controllers/no_tabs_controller.rb +4 -0
  35. data/spec/applications/bootstrap/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
  36. data/spec/applications/bootstrap/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
  37. data/spec/applications/bootstrap/rails_4-2-0/app/controllers/subtabs_controller.rb +10 -0
  38. data/spec/applications/bootstrap/rails_4-2-0/app/helpers/application_helper.rb +2 -0
  39. data/spec/applications/bootstrap/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
  40. data/spec/applications/bootstrap/rails_4-2-0/app/helpers/home_helper.rb +2 -0
  41. data/spec/applications/bootstrap/rails_4-2-0/app/helpers/no_tabs_helper.rb +2 -0
  42. data/spec/applications/bootstrap/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
  43. data/spec/applications/bootstrap/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
  44. data/spec/applications/bootstrap/rails_4-2-0/app/helpers/subtabs_helper.rb +2 -0
  45. data/spec/applications/bootstrap/rails_4-2-0/app/mailers/.keep +0 -0
  46. data/spec/applications/bootstrap/rails_4-2-0/app/models/.keep +0 -0
  47. data/spec/applications/bootstrap/rails_4-2-0/app/models/concerns/.keep +0 -0
  48. data/spec/applications/bootstrap/rails_4-2-0/app/models/galaxy.rb +2 -0
  49. data/spec/applications/bootstrap/rails_4-2-0/app/models/planet.rb +2 -0
  50. data/spec/applications/bootstrap/rails_4-2-0/app/models/star.rb +2 -0
  51. data/spec/applications/bootstrap/rails_4-2-0/app/tabs/tabulous.rb +81 -0
  52. data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
  53. data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
  54. data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
  55. data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
  56. data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
  57. data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
  58. data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
  59. data/spec/applications/bootstrap/rails_4-2-0/app/views/home/index.html.erb +2 -0
  60. data/spec/applications/bootstrap/rails_4-2-0/app/views/layouts/application.html.erb +26 -0
  61. data/spec/applications/bootstrap/rails_4-2-0/app/views/no_tabs/index.html.erb +3 -0
  62. data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
  63. data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
  64. data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/index.html.erb +27 -0
  65. data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
  66. data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/new.html.erb +5 -0
  67. data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/show.html.erb +9 -0
  68. data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
  69. data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
  70. data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
  71. data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/index.html.erb +27 -0
  72. data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
  73. data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/new.html.erb +5 -0
  74. data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/show.html.erb +9 -0
  75. data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
  76. data/spec/applications/bootstrap/rails_4-2-0/app/views/subtabs/one.html.erb +1 -0
  77. data/spec/applications/bootstrap/rails_4-2-0/app/views/subtabs/three.html.erb +1 -0
  78. data/spec/applications/bootstrap/rails_4-2-0/app/views/subtabs/two.html.erb +1 -0
  79. data/spec/applications/bootstrap/rails_4-2-0/bin/bundle +3 -0
  80. data/spec/applications/bootstrap/rails_4-2-0/bin/rails +8 -0
  81. data/spec/applications/bootstrap/rails_4-2-0/bin/rake +8 -0
  82. data/spec/applications/bootstrap/rails_4-2-0/bin/setup +29 -0
  83. data/spec/applications/bootstrap/rails_4-2-0/bin/spring +18 -0
  84. data/spec/applications/bootstrap/rails_4-2-0/config.ru +4 -0
  85. data/spec/applications/bootstrap/rails_4-2-0/config/application.rb +26 -0
  86. data/spec/applications/bootstrap/rails_4-2-0/config/boot.rb +3 -0
  87. data/spec/applications/bootstrap/rails_4-2-0/config/database.yml +25 -0
  88. data/spec/applications/bootstrap/rails_4-2-0/config/environment.rb +5 -0
  89. data/spec/applications/bootstrap/rails_4-2-0/config/environments/development.rb +41 -0
  90. data/spec/applications/bootstrap/rails_4-2-0/config/environments/production.rb +79 -0
  91. data/spec/applications/bootstrap/rails_4-2-0/config/environments/test.rb +42 -0
  92. data/spec/applications/bootstrap/rails_4-2-0/config/initializers/assets.rb +11 -0
  93. data/spec/applications/bootstrap/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
  94. data/spec/applications/bootstrap/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
  95. data/spec/applications/bootstrap/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
  96. data/spec/applications/bootstrap/rails_4-2-0/config/initializers/inflections.rb +16 -0
  97. data/spec/applications/bootstrap/rails_4-2-0/config/initializers/mime_types.rb +4 -0
  98. data/spec/applications/bootstrap/rails_4-2-0/config/initializers/session_store.rb +3 -0
  99. data/spec/applications/bootstrap/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
  100. data/spec/applications/bootstrap/rails_4-2-0/config/locales/en.yml +23 -0
  101. data/spec/applications/bootstrap/rails_4-2-0/config/routes.rb +74 -0
  102. data/spec/applications/bootstrap/rails_4-2-0/config/secrets.yml +22 -0
  103. data/spec/applications/bootstrap/rails_4-2-0/db/migrate/20141222134203_create_galaxies.rb +9 -0
  104. data/spec/applications/bootstrap/rails_4-2-0/db/migrate/20141222134205_create_planets.rb +9 -0
  105. data/spec/applications/bootstrap/rails_4-2-0/db/migrate/20141222134207_create_stars.rb +9 -0
  106. data/spec/applications/bootstrap/rails_4-2-0/db/schema.rb +34 -0
  107. data/spec/applications/bootstrap/rails_4-2-0/db/seeds.rb +7 -0
  108. data/spec/applications/bootstrap/rails_4-2-0/lib/assets/.keep +0 -0
  109. data/spec/applications/bootstrap/rails_4-2-0/lib/tasks/.keep +0 -0
  110. data/spec/applications/bootstrap/rails_4-2-0/lib/tasks/testing.rake +1 -0
  111. data/spec/applications/bootstrap/rails_4-2-0/log/.keep +0 -0
  112. data/spec/applications/bootstrap/rails_4-2-0/public/404.html +67 -0
  113. data/spec/applications/bootstrap/rails_4-2-0/public/422.html +67 -0
  114. data/spec/applications/bootstrap/rails_4-2-0/public/500.html +66 -0
  115. data/spec/applications/bootstrap/rails_4-2-0/public/favicon.ico +0 -0
  116. data/spec/applications/bootstrap/rails_4-2-0/public/robots.txt +5 -0
  117. data/spec/applications/bootstrap/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
  118. data/spec/applications/bootstrap/rails_4-2-0/spec/spec_helper.rb +39 -0
  119. data/spec/applications/bootstrap/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
  120. data/spec/applications/bootstrap/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
  121. data/spec/applications/bootstrap/rails_4-2-0/test/controllers/.keep +0 -0
  122. data/spec/applications/bootstrap/rails_4-2-0/test/fixtures/.keep +0 -0
  123. data/spec/applications/bootstrap/rails_4-2-0/test/helpers/.keep +0 -0
  124. data/spec/applications/bootstrap/rails_4-2-0/test/integration/.keep +0 -0
  125. data/spec/applications/bootstrap/rails_4-2-0/test/mailers/.keep +0 -0
  126. data/spec/applications/bootstrap/rails_4-2-0/test/models/.keep +0 -0
  127. data/spec/applications/bootstrap/rails_4-2-0/test/test_helper.rb +10 -0
  128. data/spec/applications/bootstrap/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
  129. data/spec/applications/bootstrap/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
  130. data/spec/applications/custom_renderer/rails_4-2-0/.gitignore +17 -0
  131. data/spec/applications/custom_renderer/rails_4-2-0/Gemfile +26 -0
  132. data/spec/applications/custom_renderer/rails_4-2-0/README.rdoc +28 -0
  133. data/spec/applications/custom_renderer/rails_4-2-0/Rakefile +6 -0
  134. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/images/.keep +0 -0
  135. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/application.js +16 -0
  136. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
  137. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
  138. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
  139. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
  140. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
  141. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
  142. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
  143. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
  144. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
  145. data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
  146. data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/application_controller.rb +5 -0
  147. data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/concerns/.keep +0 -0
  148. data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
  149. data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/home_controller.rb +4 -0
  150. data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
  151. data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
  152. data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/application_helper.rb +2 -0
  153. data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
  154. data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/home_helper.rb +2 -0
  155. data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
  156. data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
  157. data/spec/applications/custom_renderer/rails_4-2-0/app/mailers/.keep +0 -0
  158. data/spec/applications/custom_renderer/rails_4-2-0/app/models/.keep +0 -0
  159. data/spec/applications/custom_renderer/rails_4-2-0/app/models/concerns/.keep +0 -0
  160. data/spec/applications/custom_renderer/rails_4-2-0/app/models/galaxy.rb +2 -0
  161. data/spec/applications/custom_renderer/rails_4-2-0/app/models/planet.rb +2 -0
  162. data/spec/applications/custom_renderer/rails_4-2-0/app/models/star.rb +2 -0
  163. data/spec/applications/custom_renderer/rails_4-2-0/app/tabs/custom_renderer.rb +29 -0
  164. data/spec/applications/custom_renderer/rails_4-2-0/app/tabs/tabulous.rb +45 -0
  165. data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
  166. data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
  167. data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
  168. data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
  169. data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
  170. data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
  171. data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
  172. data/spec/applications/custom_renderer/rails_4-2-0/app/views/home/index.html.erb +2 -0
  173. data/spec/applications/custom_renderer/rails_4-2-0/app/views/layouts/application.html.erb +14 -0
  174. data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
  175. data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
  176. data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/index.html.erb +27 -0
  177. data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
  178. data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/new.html.erb +5 -0
  179. data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/show.html.erb +9 -0
  180. data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
  181. data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
  182. data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
  183. data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/index.html.erb +27 -0
  184. data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
  185. data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/new.html.erb +5 -0
  186. data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/show.html.erb +9 -0
  187. data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
  188. data/spec/applications/custom_renderer/rails_4-2-0/bin/bundle +3 -0
  189. data/spec/applications/custom_renderer/rails_4-2-0/bin/rails +8 -0
  190. data/spec/applications/custom_renderer/rails_4-2-0/bin/rake +8 -0
  191. data/spec/applications/custom_renderer/rails_4-2-0/bin/setup +29 -0
  192. data/spec/applications/custom_renderer/rails_4-2-0/bin/spring +18 -0
  193. data/spec/applications/custom_renderer/rails_4-2-0/config.ru +4 -0
  194. data/spec/applications/custom_renderer/rails_4-2-0/config/application.rb +26 -0
  195. data/spec/applications/custom_renderer/rails_4-2-0/config/boot.rb +3 -0
  196. data/spec/applications/custom_renderer/rails_4-2-0/config/database.yml +25 -0
  197. data/spec/applications/custom_renderer/rails_4-2-0/config/environment.rb +5 -0
  198. data/spec/applications/custom_renderer/rails_4-2-0/config/environments/development.rb +41 -0
  199. data/spec/applications/custom_renderer/rails_4-2-0/config/environments/production.rb +79 -0
  200. data/spec/applications/custom_renderer/rails_4-2-0/config/environments/test.rb +42 -0
  201. data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/assets.rb +11 -0
  202. data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
  203. data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
  204. data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
  205. data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/inflections.rb +16 -0
  206. data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/mime_types.rb +4 -0
  207. data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/session_store.rb +3 -0
  208. data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
  209. data/spec/applications/custom_renderer/rails_4-2-0/config/locales/en.yml +23 -0
  210. data/spec/applications/custom_renderer/rails_4-2-0/config/routes.rb +65 -0
  211. data/spec/applications/custom_renderer/rails_4-2-0/config/secrets.yml +22 -0
  212. data/spec/applications/custom_renderer/rails_4-2-0/db/migrate/20141222134851_create_galaxies.rb +9 -0
  213. data/spec/applications/custom_renderer/rails_4-2-0/db/migrate/20141222134853_create_planets.rb +9 -0
  214. data/spec/applications/custom_renderer/rails_4-2-0/db/migrate/20141222134855_create_stars.rb +9 -0
  215. data/spec/applications/custom_renderer/rails_4-2-0/db/schema.rb +34 -0
  216. data/spec/applications/custom_renderer/rails_4-2-0/db/seeds.rb +7 -0
  217. data/spec/applications/custom_renderer/rails_4-2-0/lib/assets/.keep +0 -0
  218. data/spec/applications/custom_renderer/rails_4-2-0/lib/tasks/.keep +0 -0
  219. data/spec/applications/custom_renderer/rails_4-2-0/lib/tasks/testing.rake +1 -0
  220. data/spec/applications/custom_renderer/rails_4-2-0/log/.keep +0 -0
  221. data/spec/applications/custom_renderer/rails_4-2-0/public/404.html +67 -0
  222. data/spec/applications/custom_renderer/rails_4-2-0/public/422.html +67 -0
  223. data/spec/applications/custom_renderer/rails_4-2-0/public/500.html +66 -0
  224. data/spec/applications/custom_renderer/rails_4-2-0/public/favicon.ico +0 -0
  225. data/spec/applications/custom_renderer/rails_4-2-0/public/robots.txt +5 -0
  226. data/spec/applications/custom_renderer/rails_4-2-0/spec/features/custom_renderer_spec.rb +11 -0
  227. data/spec/applications/custom_renderer/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
  228. data/spec/applications/custom_renderer/rails_4-2-0/spec/spec_helper.rb +39 -0
  229. data/spec/applications/custom_renderer/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
  230. data/spec/applications/custom_renderer/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
  231. data/spec/applications/custom_renderer/rails_4-2-0/test/controllers/.keep +0 -0
  232. data/spec/applications/custom_renderer/rails_4-2-0/test/fixtures/.keep +0 -0
  233. data/spec/applications/custom_renderer/rails_4-2-0/test/helpers/.keep +0 -0
  234. data/spec/applications/custom_renderer/rails_4-2-0/test/integration/.keep +0 -0
  235. data/spec/applications/custom_renderer/rails_4-2-0/test/mailers/.keep +0 -0
  236. data/spec/applications/custom_renderer/rails_4-2-0/test/models/.keep +0 -0
  237. data/spec/applications/custom_renderer/rails_4-2-0/test/test_helper.rb +10 -0
  238. data/spec/applications/custom_renderer/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
  239. data/spec/applications/custom_renderer/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
  240. data/spec/applications/main/rails_4-2-0/.gitignore +17 -0
  241. data/spec/applications/main/rails_4-2-0/Gemfile +26 -0
  242. data/spec/applications/main/rails_4-2-0/README.rdoc +28 -0
  243. data/spec/applications/main/rails_4-2-0/Rakefile +6 -0
  244. data/spec/applications/main/rails_4-2-0/app/assets/images/.keep +0 -0
  245. data/spec/applications/main/rails_4-2-0/app/assets/javascripts/application.js +16 -0
  246. data/spec/applications/main/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
  247. data/spec/applications/main/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
  248. data/spec/applications/main/rails_4-2-0/app/assets/javascripts/no_tabs.coffee +3 -0
  249. data/spec/applications/main/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
  250. data/spec/applications/main/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
  251. data/spec/applications/main/rails_4-2-0/app/assets/javascripts/subtabs.coffee +3 -0
  252. data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
  253. data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
  254. data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
  255. data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/no_tabs.scss +3 -0
  256. data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
  257. data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
  258. data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
  259. data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/subtabs.scss +3 -0
  260. data/spec/applications/main/rails_4-2-0/app/controllers/application_controller.rb +5 -0
  261. data/spec/applications/main/rails_4-2-0/app/controllers/concerns/.keep +0 -0
  262. data/spec/applications/main/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
  263. data/spec/applications/main/rails_4-2-0/app/controllers/home_controller.rb +4 -0
  264. data/spec/applications/main/rails_4-2-0/app/controllers/no_tabs_controller.rb +4 -0
  265. data/spec/applications/main/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
  266. data/spec/applications/main/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
  267. data/spec/applications/main/rails_4-2-0/app/controllers/subtabs_controller.rb +10 -0
  268. data/spec/applications/main/rails_4-2-0/app/helpers/application_helper.rb +2 -0
  269. data/spec/applications/main/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
  270. data/spec/applications/main/rails_4-2-0/app/helpers/home_helper.rb +2 -0
  271. data/spec/applications/main/rails_4-2-0/app/helpers/no_tabs_helper.rb +2 -0
  272. data/spec/applications/main/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
  273. data/spec/applications/main/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
  274. data/spec/applications/main/rails_4-2-0/app/helpers/subtabs_helper.rb +2 -0
  275. data/spec/applications/main/rails_4-2-0/app/mailers/.keep +0 -0
  276. data/spec/applications/main/rails_4-2-0/app/models/.keep +0 -0
  277. data/spec/applications/main/rails_4-2-0/app/models/concerns/.keep +0 -0
  278. data/spec/applications/main/rails_4-2-0/app/models/galaxy.rb +2 -0
  279. data/spec/applications/main/rails_4-2-0/app/models/planet.rb +2 -0
  280. data/spec/applications/main/rails_4-2-0/app/models/star.rb +2 -0
  281. data/spec/applications/main/rails_4-2-0/app/tabs/tabulous.rb +78 -0
  282. data/spec/applications/main/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
  283. data/spec/applications/main/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
  284. data/spec/applications/main/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
  285. data/spec/applications/main/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
  286. data/spec/applications/main/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
  287. data/spec/applications/main/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
  288. data/spec/applications/main/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
  289. data/spec/applications/main/rails_4-2-0/app/views/home/index.html.erb +2 -0
  290. data/spec/applications/main/rails_4-2-0/app/views/layouts/application.html.erb +14 -0
  291. data/spec/applications/main/rails_4-2-0/app/views/no_tabs/index.html.erb +3 -0
  292. data/spec/applications/main/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
  293. data/spec/applications/main/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
  294. data/spec/applications/main/rails_4-2-0/app/views/planets/index.html.erb +27 -0
  295. data/spec/applications/main/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
  296. data/spec/applications/main/rails_4-2-0/app/views/planets/new.html.erb +5 -0
  297. data/spec/applications/main/rails_4-2-0/app/views/planets/show.html.erb +9 -0
  298. data/spec/applications/main/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
  299. data/spec/applications/main/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
  300. data/spec/applications/main/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
  301. data/spec/applications/main/rails_4-2-0/app/views/stars/index.html.erb +27 -0
  302. data/spec/applications/main/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
  303. data/spec/applications/main/rails_4-2-0/app/views/stars/new.html.erb +5 -0
  304. data/spec/applications/main/rails_4-2-0/app/views/stars/show.html.erb +9 -0
  305. data/spec/applications/main/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
  306. data/spec/applications/main/rails_4-2-0/app/views/subtabs/one.html.erb +1 -0
  307. data/spec/applications/main/rails_4-2-0/app/views/subtabs/three.html.erb +1 -0
  308. data/spec/applications/main/rails_4-2-0/app/views/subtabs/two.html.erb +1 -0
  309. data/spec/applications/main/rails_4-2-0/bin/bundle +3 -0
  310. data/spec/applications/main/rails_4-2-0/bin/rails +8 -0
  311. data/spec/applications/main/rails_4-2-0/bin/rake +8 -0
  312. data/spec/applications/main/rails_4-2-0/bin/setup +29 -0
  313. data/spec/applications/main/rails_4-2-0/bin/spring +18 -0
  314. data/spec/applications/main/rails_4-2-0/config.ru +4 -0
  315. data/spec/applications/main/rails_4-2-0/config/application.rb +26 -0
  316. data/spec/applications/main/rails_4-2-0/config/boot.rb +3 -0
  317. data/spec/applications/main/rails_4-2-0/config/database.yml +25 -0
  318. data/spec/applications/main/rails_4-2-0/config/environment.rb +5 -0
  319. data/spec/applications/main/rails_4-2-0/config/environments/development.rb +41 -0
  320. data/spec/applications/main/rails_4-2-0/config/environments/production.rb +79 -0
  321. data/spec/applications/main/rails_4-2-0/config/environments/test.rb +42 -0
  322. data/spec/applications/main/rails_4-2-0/config/initializers/assets.rb +11 -0
  323. data/spec/applications/main/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
  324. data/spec/applications/main/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
  325. data/spec/applications/main/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
  326. data/spec/applications/main/rails_4-2-0/config/initializers/inflections.rb +16 -0
  327. data/spec/applications/main/rails_4-2-0/config/initializers/mime_types.rb +4 -0
  328. data/spec/applications/main/rails_4-2-0/config/initializers/session_store.rb +3 -0
  329. data/spec/applications/main/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
  330. data/spec/applications/main/rails_4-2-0/config/locales/en.yml +23 -0
  331. data/spec/applications/main/rails_4-2-0/config/routes.rb +74 -0
  332. data/spec/applications/main/rails_4-2-0/config/secrets.yml +22 -0
  333. data/spec/applications/main/rails_4-2-0/db/migrate/20141221212743_create_galaxies.rb +9 -0
  334. data/spec/applications/main/rails_4-2-0/db/migrate/20141221212744_create_planets.rb +9 -0
  335. data/spec/applications/main/rails_4-2-0/db/migrate/20141221212746_create_stars.rb +9 -0
  336. data/spec/applications/main/rails_4-2-0/db/schema.rb +34 -0
  337. data/spec/applications/main/rails_4-2-0/db/seeds.rb +7 -0
  338. data/spec/applications/main/rails_4-2-0/lib/assets/.keep +0 -0
  339. data/spec/applications/main/rails_4-2-0/lib/tasks/.keep +0 -0
  340. data/spec/applications/main/rails_4-2-0/lib/tasks/testing.rake +1 -0
  341. data/spec/applications/main/rails_4-2-0/log/.keep +0 -0
  342. data/spec/applications/main/rails_4-2-0/public/404.html +67 -0
  343. data/spec/applications/main/rails_4-2-0/public/422.html +67 -0
  344. data/spec/applications/main/rails_4-2-0/public/500.html +66 -0
  345. data/spec/applications/main/rails_4-2-0/public/favicon.ico +0 -0
  346. data/spec/applications/main/rails_4-2-0/public/robots.txt +5 -0
  347. data/spec/applications/main/rails_4-2-0/spec/features/css_scaffolding_spec.rb +194 -0
  348. data/spec/applications/main/rails_4-2-0/spec/features/customize_active_tab_clickable_spec.rb +110 -0
  349. data/spec/applications/main/rails_4-2-0/spec/features/customize_render_subtabs_when_empty_spec.rb +116 -0
  350. data/spec/applications/main/rails_4-2-0/spec/features/customize_renderer_spec.rb +107 -0
  351. data/spec/applications/main/rails_4-2-0/spec/features/customize_when_action_has_no_tab_spec.rb +115 -0
  352. data/spec/applications/main/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
  353. data/spec/applications/main/rails_4-2-0/spec/features/tab_active_when_spec.rb +272 -0
  354. data/spec/applications/main/rails_4-2-0/spec/features/tab_dsl_errors_spec.rb +177 -0
  355. data/spec/applications/main/rails_4-2-0/spec/features/tab_enabled_when_spec.rb +114 -0
  356. data/spec/applications/main/rails_4-2-0/spec/features/tab_link_path_spec.rb +114 -0
  357. data/spec/applications/main/rails_4-2-0/spec/features/tab_order_spec.rb +94 -0
  358. data/spec/applications/main/rails_4-2-0/spec/features/tab_text_spec.rb +104 -0
  359. data/spec/applications/main/rails_4-2-0/spec/features/tab_visible_when_spec.rb +114 -0
  360. data/spec/applications/main/rails_4-2-0/spec/features/tabs_dsl_errors_spec.rb +97 -0
  361. data/spec/applications/main/rails_4-2-0/spec/spec_helper.rb +39 -0
  362. data/spec/applications/main/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
  363. data/spec/applications/main/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
  364. data/spec/applications/main/rails_4-2-0/test/controllers/.keep +0 -0
  365. data/spec/applications/main/rails_4-2-0/test/fixtures/.keep +0 -0
  366. data/spec/applications/main/rails_4-2-0/test/helpers/.keep +0 -0
  367. data/spec/applications/main/rails_4-2-0/test/integration/.keep +0 -0
  368. data/spec/applications/main/rails_4-2-0/test/mailers/.keep +0 -0
  369. data/spec/applications/main/rails_4-2-0/test/models/.keep +0 -0
  370. data/spec/applications/main/rails_4-2-0/test/test_helper.rb +10 -0
  371. data/spec/applications/main/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
  372. data/spec/applications/main/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
  373. data/spec/applications/main/shared/spec/features/css_scaffolding_spec.rb +2 -2
  374. data/spec/applications/main/shared/spec/features/tab_active_when_spec.rb +5 -5
  375. data/spec/applications/main/shared/spec/features/tab_link_path_spec.rb +4 -4
  376. data/spec/applications/multiple_tabsets/rails_4-2-0/.gitignore +17 -0
  377. data/spec/applications/multiple_tabsets/rails_4-2-0/Gemfile +26 -0
  378. data/spec/applications/multiple_tabsets/rails_4-2-0/README.rdoc +28 -0
  379. data/spec/applications/multiple_tabsets/rails_4-2-0/Rakefile +6 -0
  380. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/images/.keep +0 -0
  381. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/application.js +16 -0
  382. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/galaxies/elliptical_galaxies.coffee +3 -0
  383. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/galaxies/lenticular_galaxies.coffee +3 -0
  384. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/galaxies/spiral_galaxies.coffee +3 -0
  385. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
  386. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/planets/exoplanets.coffee +3 -0
  387. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/planets/rogue_planets.coffee +3 -0
  388. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
  389. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/galaxies/elliptical_galaxies.scss +3 -0
  390. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/galaxies/lenticular_galaxies.scss +3 -0
  391. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/galaxies/spiral_galaxies.scss +3 -0
  392. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
  393. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/planets/exoplanets.scss +3 -0
  394. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/planets/rogue_planets.scss +3 -0
  395. data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
  396. data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/application_controller.rb +5 -0
  397. data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/concerns/.keep +0 -0
  398. data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/galaxies/elliptical_galaxies_controller.rb +74 -0
  399. data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/galaxies/lenticular_galaxies_controller.rb +74 -0
  400. data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/galaxies/spiral_galaxies_controller.rb +74 -0
  401. data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/home_controller.rb +4 -0
  402. data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/planets/exoplanets_controller.rb +74 -0
  403. data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/planets/rogue_planets_controller.rb +74 -0
  404. data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/application_helper.rb +2 -0
  405. data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/galaxies/elliptical_galaxies_helper.rb +2 -0
  406. data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/galaxies/lenticular_galaxies_helper.rb +2 -0
  407. data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/galaxies/spiral_galaxies_helper.rb +2 -0
  408. data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/home_helper.rb +2 -0
  409. data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/planets/exoplanets_helper.rb +2 -0
  410. data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/planets/rogue_planets_helper.rb +2 -0
  411. data/spec/applications/multiple_tabsets/rails_4-2-0/app/mailers/.keep +0 -0
  412. data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/.keep +0 -0
  413. data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/concerns/.keep +0 -0
  414. data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies.rb +5 -0
  415. data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies/elliptical_galaxy.rb +2 -0
  416. data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies/lenticular_galaxy.rb +2 -0
  417. data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies/spiral_galaxy.rb +2 -0
  418. data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/planets.rb +5 -0
  419. data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/planets/exoplanet.rb +2 -0
  420. data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/planets/rogue_planet.rb +2 -0
  421. data/spec/applications/multiple_tabsets/rails_4-2-0/app/tabs/tabulous.rb +56 -0
  422. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/_form.html.erb +21 -0
  423. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/edit.html.erb +6 -0
  424. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.html.erb +27 -0
  425. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.json.jbuilder +4 -0
  426. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/new.html.erb +5 -0
  427. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.html.erb +9 -0
  428. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.json.jbuilder +1 -0
  429. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/_form.html.erb +21 -0
  430. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/edit.html.erb +6 -0
  431. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.html.erb +27 -0
  432. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.json.jbuilder +4 -0
  433. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/new.html.erb +5 -0
  434. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.html.erb +9 -0
  435. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.json.jbuilder +1 -0
  436. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/_form.html.erb +21 -0
  437. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/edit.html.erb +6 -0
  438. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.html.erb +27 -0
  439. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.json.jbuilder +4 -0
  440. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/new.html.erb +5 -0
  441. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.html.erb +9 -0
  442. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.json.jbuilder +1 -0
  443. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/home/index.html.erb +6 -0
  444. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/layouts/application.html.erb +12 -0
  445. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/_form.html.erb +21 -0
  446. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/edit.html.erb +6 -0
  447. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/index.html.erb +27 -0
  448. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/index.json.jbuilder +4 -0
  449. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/new.html.erb +5 -0
  450. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/show.html.erb +9 -0
  451. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/show.json.jbuilder +1 -0
  452. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/_form.html.erb +21 -0
  453. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/edit.html.erb +6 -0
  454. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/index.html.erb +27 -0
  455. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/index.json.jbuilder +4 -0
  456. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/new.html.erb +5 -0
  457. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/show.html.erb +9 -0
  458. data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/show.json.jbuilder +1 -0
  459. data/spec/applications/multiple_tabsets/rails_4-2-0/bin/bundle +3 -0
  460. data/spec/applications/multiple_tabsets/rails_4-2-0/bin/rails +8 -0
  461. data/spec/applications/multiple_tabsets/rails_4-2-0/bin/rake +8 -0
  462. data/spec/applications/multiple_tabsets/rails_4-2-0/bin/setup +29 -0
  463. data/spec/applications/multiple_tabsets/rails_4-2-0/bin/spring +18 -0
  464. data/spec/applications/multiple_tabsets/rails_4-2-0/config.ru +4 -0
  465. data/spec/applications/multiple_tabsets/rails_4-2-0/config/application.rb +26 -0
  466. data/spec/applications/multiple_tabsets/rails_4-2-0/config/boot.rb +3 -0
  467. data/spec/applications/multiple_tabsets/rails_4-2-0/config/database.yml +25 -0
  468. data/spec/applications/multiple_tabsets/rails_4-2-0/config/environment.rb +5 -0
  469. data/spec/applications/multiple_tabsets/rails_4-2-0/config/environments/development.rb +41 -0
  470. data/spec/applications/multiple_tabsets/rails_4-2-0/config/environments/production.rb +79 -0
  471. data/spec/applications/multiple_tabsets/rails_4-2-0/config/environments/test.rb +42 -0
  472. data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/assets.rb +11 -0
  473. data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
  474. data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
  475. data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
  476. data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/inflections.rb +16 -0
  477. data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/mime_types.rb +4 -0
  478. data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/session_store.rb +3 -0
  479. data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
  480. data/spec/applications/multiple_tabsets/rails_4-2-0/config/locales/en.yml +23 -0
  481. data/spec/applications/multiple_tabsets/rails_4-2-0/config/routes.rb +79 -0
  482. data/spec/applications/multiple_tabsets/rails_4-2-0/config/secrets.yml +22 -0
  483. data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134928_create_galaxies_elliptical_galaxies.rb +9 -0
  484. data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134930_create_galaxies_lenticular_galaxies.rb +9 -0
  485. data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134932_create_galaxies_spiral_galaxies.rb +9 -0
  486. data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134934_create_planets_exoplanets.rb +9 -0
  487. data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134936_create_planets_rogue_planets.rb +9 -0
  488. data/spec/applications/multiple_tabsets/rails_4-2-0/db/schema.rb +46 -0
  489. data/spec/applications/multiple_tabsets/rails_4-2-0/db/seeds.rb +7 -0
  490. data/spec/applications/multiple_tabsets/rails_4-2-0/lib/assets/.keep +0 -0
  491. data/spec/applications/multiple_tabsets/rails_4-2-0/lib/tasks/.keep +0 -0
  492. data/spec/applications/multiple_tabsets/rails_4-2-0/lib/tasks/testing.rake +1 -0
  493. data/spec/applications/multiple_tabsets/rails_4-2-0/log/.keep +0 -0
  494. data/spec/applications/multiple_tabsets/rails_4-2-0/public/404.html +67 -0
  495. data/spec/applications/multiple_tabsets/rails_4-2-0/public/422.html +67 -0
  496. data/spec/applications/multiple_tabsets/rails_4-2-0/public/500.html +66 -0
  497. data/spec/applications/multiple_tabsets/rails_4-2-0/public/favicon.ico +0 -0
  498. data/spec/applications/multiple_tabsets/rails_4-2-0/public/robots.txt +5 -0
  499. data/spec/applications/multiple_tabsets/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
  500. data/spec/applications/multiple_tabsets/rails_4-2-0/spec/features/multiple_tabsets_spec.rb +21 -0
  501. data/spec/applications/multiple_tabsets/rails_4-2-0/spec/spec_helper.rb +39 -0
  502. data/spec/applications/multiple_tabsets/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
  503. data/spec/applications/multiple_tabsets/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
  504. data/spec/applications/multiple_tabsets/rails_4-2-0/test/controllers/.keep +0 -0
  505. data/spec/applications/multiple_tabsets/rails_4-2-0/test/fixtures/.keep +0 -0
  506. data/spec/applications/multiple_tabsets/rails_4-2-0/test/helpers/.keep +0 -0
  507. data/spec/applications/multiple_tabsets/rails_4-2-0/test/integration/.keep +0 -0
  508. data/spec/applications/multiple_tabsets/rails_4-2-0/test/mailers/.keep +0 -0
  509. data/spec/applications/multiple_tabsets/rails_4-2-0/test/models/.keep +0 -0
  510. data/spec/applications/multiple_tabsets/rails_4-2-0/test/test_helper.rb +10 -0
  511. data/spec/applications/multiple_tabsets/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
  512. data/spec/applications/multiple_tabsets/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
  513. data/spec/applications/simple_tabs/rails_4-2-0/.gitignore +17 -0
  514. data/spec/applications/simple_tabs/rails_4-2-0/Gemfile +26 -0
  515. data/spec/applications/simple_tabs/rails_4-2-0/README.rdoc +28 -0
  516. data/spec/applications/simple_tabs/rails_4-2-0/Rakefile +6 -0
  517. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/images/.keep +0 -0
  518. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/application.js +16 -0
  519. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
  520. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
  521. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
  522. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
  523. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
  524. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
  525. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
  526. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
  527. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
  528. data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
  529. data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/application_controller.rb +5 -0
  530. data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/concerns/.keep +0 -0
  531. data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
  532. data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/home_controller.rb +4 -0
  533. data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
  534. data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
  535. data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/application_helper.rb +2 -0
  536. data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
  537. data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/home_helper.rb +2 -0
  538. data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
  539. data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
  540. data/spec/applications/simple_tabs/rails_4-2-0/app/mailers/.keep +0 -0
  541. data/spec/applications/simple_tabs/rails_4-2-0/app/models/.keep +0 -0
  542. data/spec/applications/simple_tabs/rails_4-2-0/app/models/concerns/.keep +0 -0
  543. data/spec/applications/simple_tabs/rails_4-2-0/app/models/galaxy.rb +2 -0
  544. data/spec/applications/simple_tabs/rails_4-2-0/app/models/planet.rb +2 -0
  545. data/spec/applications/simple_tabs/rails_4-2-0/app/models/star.rb +2 -0
  546. data/spec/applications/simple_tabs/rails_4-2-0/app/tabs/tabulous.rb +41 -0
  547. data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
  548. data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
  549. data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
  550. data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
  551. data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
  552. data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
  553. data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
  554. data/spec/applications/simple_tabs/rails_4-2-0/app/views/home/index.html.erb +2 -0
  555. data/spec/applications/simple_tabs/rails_4-2-0/app/views/layouts/application.html.erb +14 -0
  556. data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
  557. data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
  558. data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/index.html.erb +27 -0
  559. data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
  560. data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/new.html.erb +5 -0
  561. data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/show.html.erb +9 -0
  562. data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
  563. data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
  564. data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
  565. data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/index.html.erb +27 -0
  566. data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
  567. data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/new.html.erb +5 -0
  568. data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/show.html.erb +9 -0
  569. data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
  570. data/spec/applications/simple_tabs/rails_4-2-0/bin/bundle +3 -0
  571. data/spec/applications/simple_tabs/rails_4-2-0/bin/rails +8 -0
  572. data/spec/applications/simple_tabs/rails_4-2-0/bin/rake +8 -0
  573. data/spec/applications/simple_tabs/rails_4-2-0/bin/setup +29 -0
  574. data/spec/applications/simple_tabs/rails_4-2-0/bin/spring +18 -0
  575. data/spec/applications/simple_tabs/rails_4-2-0/config.ru +4 -0
  576. data/spec/applications/simple_tabs/rails_4-2-0/config/application.rb +26 -0
  577. data/spec/applications/simple_tabs/rails_4-2-0/config/boot.rb +3 -0
  578. data/spec/applications/simple_tabs/rails_4-2-0/config/database.yml +25 -0
  579. data/spec/applications/simple_tabs/rails_4-2-0/config/environment.rb +5 -0
  580. data/spec/applications/simple_tabs/rails_4-2-0/config/environments/development.rb +41 -0
  581. data/spec/applications/simple_tabs/rails_4-2-0/config/environments/production.rb +79 -0
  582. data/spec/applications/simple_tabs/rails_4-2-0/config/environments/test.rb +42 -0
  583. data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/assets.rb +11 -0
  584. data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
  585. data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
  586. data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
  587. data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/inflections.rb +16 -0
  588. data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/mime_types.rb +4 -0
  589. data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/session_store.rb +3 -0
  590. data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
  591. data/spec/applications/simple_tabs/rails_4-2-0/config/locales/en.yml +23 -0
  592. data/spec/applications/simple_tabs/rails_4-2-0/config/routes.rb +65 -0
  593. data/spec/applications/simple_tabs/rails_4-2-0/config/secrets.yml +22 -0
  594. data/spec/applications/simple_tabs/rails_4-2-0/db/migrate/20141222135007_create_galaxies.rb +9 -0
  595. data/spec/applications/simple_tabs/rails_4-2-0/db/migrate/20141222135009_create_planets.rb +9 -0
  596. data/spec/applications/simple_tabs/rails_4-2-0/db/migrate/20141222135011_create_stars.rb +9 -0
  597. data/spec/applications/simple_tabs/rails_4-2-0/db/schema.rb +34 -0
  598. data/spec/applications/simple_tabs/rails_4-2-0/db/seeds.rb +7 -0
  599. data/spec/applications/simple_tabs/rails_4-2-0/lib/assets/.keep +0 -0
  600. data/spec/applications/simple_tabs/rails_4-2-0/lib/tasks/.keep +0 -0
  601. data/spec/applications/simple_tabs/rails_4-2-0/lib/tasks/testing.rake +1 -0
  602. data/spec/applications/simple_tabs/rails_4-2-0/log/.keep +0 -0
  603. data/spec/applications/simple_tabs/rails_4-2-0/public/404.html +67 -0
  604. data/spec/applications/simple_tabs/rails_4-2-0/public/422.html +67 -0
  605. data/spec/applications/simple_tabs/rails_4-2-0/public/500.html +66 -0
  606. data/spec/applications/simple_tabs/rails_4-2-0/public/favicon.ico +0 -0
  607. data/spec/applications/simple_tabs/rails_4-2-0/public/robots.txt +5 -0
  608. data/spec/applications/simple_tabs/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
  609. data/spec/applications/simple_tabs/rails_4-2-0/spec/features/simple_tabs_spec.rb +46 -0
  610. data/spec/applications/simple_tabs/rails_4-2-0/spec/spec_helper.rb +39 -0
  611. data/spec/applications/simple_tabs/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
  612. data/spec/applications/simple_tabs/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
  613. data/spec/applications/simple_tabs/rails_4-2-0/test/controllers/.keep +0 -0
  614. data/spec/applications/simple_tabs/rails_4-2-0/test/fixtures/.keep +0 -0
  615. data/spec/applications/simple_tabs/rails_4-2-0/test/helpers/.keep +0 -0
  616. data/spec/applications/simple_tabs/rails_4-2-0/test/integration/.keep +0 -0
  617. data/spec/applications/simple_tabs/rails_4-2-0/test/mailers/.keep +0 -0
  618. data/spec/applications/simple_tabs/rails_4-2-0/test/models/.keep +0 -0
  619. data/spec/applications/simple_tabs/rails_4-2-0/test/test_helper.rb +10 -0
  620. data/spec/applications/simple_tabs/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
  621. data/spec/applications/simple_tabs/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
  622. data/spec/applications/simple_tabs/shared/spec/features/simple_tabs_spec.rb +9 -9
  623. data/spec/applications/subtabs/application_template.rb +14 -0
  624. data/spec/applications/subtabs/rails_4-2-0/.gitignore +17 -0
  625. data/spec/applications/subtabs/rails_4-2-0/Gemfile +26 -0
  626. data/spec/applications/subtabs/rails_4-2-0/README.rdoc +28 -0
  627. data/spec/applications/subtabs/rails_4-2-0/Rakefile +6 -0
  628. data/spec/applications/subtabs/rails_4-2-0/app/assets/images/.keep +0 -0
  629. data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/application.js +16 -0
  630. data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/exoplanets.coffee +3 -0
  631. data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/galaxies/elliptical_galaxies.coffee +3 -0
  632. data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/galaxies/lenticular_galaxies.coffee +3 -0
  633. data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/galaxies/spiral_galaxies.coffee +3 -0
  634. data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
  635. data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/misc.coffee +3 -0
  636. data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/rogue_planets.coffee +3 -0
  637. data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
  638. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/application.css +67 -0
  639. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/exoplanets.scss +3 -0
  640. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/galaxies/elliptical_galaxies.scss +3 -0
  641. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/galaxies/lenticular_galaxies.scss +3 -0
  642. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/galaxies/spiral_galaxies.scss +3 -0
  643. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
  644. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/misc.scss +3 -0
  645. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/reset.css +52 -0
  646. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/rogue_planets.scss +3 -0
  647. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
  648. data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
  649. data/spec/applications/subtabs/rails_4-2-0/app/controllers/application_controller.rb +5 -0
  650. data/spec/applications/subtabs/rails_4-2-0/app/controllers/concerns/.keep +0 -0
  651. data/spec/applications/subtabs/rails_4-2-0/app/controllers/exoplanets_controller.rb +74 -0
  652. data/spec/applications/subtabs/rails_4-2-0/app/controllers/galaxies/elliptical_galaxies_controller.rb +74 -0
  653. data/spec/applications/subtabs/rails_4-2-0/app/controllers/galaxies/lenticular_galaxies_controller.rb +74 -0
  654. data/spec/applications/subtabs/rails_4-2-0/app/controllers/galaxies/spiral_galaxies_controller.rb +74 -0
  655. data/spec/applications/subtabs/rails_4-2-0/app/controllers/home_controller.rb +4 -0
  656. data/spec/applications/subtabs/rails_4-2-0/app/controllers/misc_controller.rb +13 -0
  657. data/spec/applications/subtabs/rails_4-2-0/app/controllers/rogue_planets_controller.rb +74 -0
  658. data/spec/applications/subtabs/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
  659. data/spec/applications/subtabs/rails_4-2-0/app/helpers/application_helper.rb +2 -0
  660. data/spec/applications/subtabs/rails_4-2-0/app/helpers/exoplanets_helper.rb +2 -0
  661. data/spec/applications/subtabs/rails_4-2-0/app/helpers/galaxies/elliptical_galaxies_helper.rb +2 -0
  662. data/spec/applications/subtabs/rails_4-2-0/app/helpers/galaxies/lenticular_galaxies_helper.rb +2 -0
  663. data/spec/applications/subtabs/rails_4-2-0/app/helpers/galaxies/spiral_galaxies_helper.rb +2 -0
  664. data/spec/applications/subtabs/rails_4-2-0/app/helpers/home_helper.rb +2 -0
  665. data/spec/applications/subtabs/rails_4-2-0/app/helpers/misc_helper.rb +2 -0
  666. data/spec/applications/subtabs/rails_4-2-0/app/helpers/rogue_planets_helper.rb +2 -0
  667. data/spec/applications/subtabs/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
  668. data/spec/applications/subtabs/rails_4-2-0/app/mailers/.keep +0 -0
  669. data/spec/applications/subtabs/rails_4-2-0/app/models/.keep +0 -0
  670. data/spec/applications/subtabs/rails_4-2-0/app/models/concerns/.keep +0 -0
  671. data/spec/applications/subtabs/rails_4-2-0/app/models/exoplanet.rb +2 -0
  672. data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies.rb +5 -0
  673. data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies/elliptical_galaxy.rb +2 -0
  674. data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies/lenticular_galaxy.rb +2 -0
  675. data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies/spiral_galaxy.rb +2 -0
  676. data/spec/applications/subtabs/rails_4-2-0/app/models/galaxy.rb +2 -0
  677. data/spec/applications/subtabs/rails_4-2-0/app/models/planet.rb +2 -0
  678. data/spec/applications/subtabs/rails_4-2-0/app/models/rogue_planet.rb +2 -0
  679. data/spec/applications/subtabs/rails_4-2-0/app/models/star.rb +2 -0
  680. data/spec/applications/subtabs/rails_4-2-0/app/tabs/tabulous.rb +134 -0
  681. data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/_form.html.erb +21 -0
  682. data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/edit.html.erb +6 -0
  683. data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/index.html.erb +27 -0
  684. data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/index.json.jbuilder +4 -0
  685. data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/new.html.erb +5 -0
  686. data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/show.html.erb +9 -0
  687. data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/show.json.jbuilder +1 -0
  688. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/_form.html.erb +21 -0
  689. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/edit.html.erb +6 -0
  690. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.html.erb +27 -0
  691. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.json.jbuilder +4 -0
  692. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/new.html.erb +5 -0
  693. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.html.erb +9 -0
  694. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.json.jbuilder +1 -0
  695. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/_form.html.erb +21 -0
  696. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/edit.html.erb +6 -0
  697. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.html.erb +27 -0
  698. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.json.jbuilder +4 -0
  699. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/new.html.erb +5 -0
  700. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.html.erb +9 -0
  701. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.json.jbuilder +1 -0
  702. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/_form.html.erb +21 -0
  703. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/edit.html.erb +6 -0
  704. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.html.erb +27 -0
  705. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.json.jbuilder +4 -0
  706. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/new.html.erb +5 -0
  707. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.html.erb +9 -0
  708. data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.json.jbuilder +1 -0
  709. data/spec/applications/subtabs/rails_4-2-0/app/views/home/index.html.erb +12 -0
  710. data/spec/applications/subtabs/rails_4-2-0/app/views/layouts/application.html.erb +20 -0
  711. data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_disabled.html.erb +2 -0
  712. data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_enabled.html.erb +4 -0
  713. data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_hidden.html.erb +2 -0
  714. data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_visible.html.erb +4 -0
  715. data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/_form.html.erb +21 -0
  716. data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/edit.html.erb +6 -0
  717. data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/index.html.erb +27 -0
  718. data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/index.json.jbuilder +4 -0
  719. data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/new.html.erb +5 -0
  720. data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/show.html.erb +9 -0
  721. data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/show.json.jbuilder +1 -0
  722. data/spec/applications/subtabs/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
  723. data/spec/applications/subtabs/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
  724. data/spec/applications/subtabs/rails_4-2-0/app/views/stars/index.html.erb +27 -0
  725. data/spec/applications/subtabs/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
  726. data/spec/applications/subtabs/rails_4-2-0/app/views/stars/new.html.erb +5 -0
  727. data/spec/applications/subtabs/rails_4-2-0/app/views/stars/show.html.erb +9 -0
  728. data/spec/applications/subtabs/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
  729. data/spec/applications/subtabs/rails_4-2-0/bin/bundle +3 -0
  730. data/spec/applications/subtabs/rails_4-2-0/bin/rails +8 -0
  731. data/spec/applications/subtabs/rails_4-2-0/bin/rake +8 -0
  732. data/spec/applications/subtabs/rails_4-2-0/bin/setup +29 -0
  733. data/spec/applications/subtabs/rails_4-2-0/bin/spring +18 -0
  734. data/spec/applications/subtabs/rails_4-2-0/config.ru +4 -0
  735. data/spec/applications/subtabs/rails_4-2-0/config/application.rb +26 -0
  736. data/spec/applications/subtabs/rails_4-2-0/config/boot.rb +3 -0
  737. data/spec/applications/subtabs/rails_4-2-0/config/database.yml +25 -0
  738. data/spec/applications/subtabs/rails_4-2-0/config/environment.rb +5 -0
  739. data/spec/applications/subtabs/rails_4-2-0/config/environments/development.rb +41 -0
  740. data/spec/applications/subtabs/rails_4-2-0/config/environments/production.rb +79 -0
  741. data/spec/applications/subtabs/rails_4-2-0/config/environments/test.rb +42 -0
  742. data/spec/applications/subtabs/rails_4-2-0/config/initializers/assets.rb +12 -0
  743. data/spec/applications/subtabs/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
  744. data/spec/applications/subtabs/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
  745. data/spec/applications/subtabs/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
  746. data/spec/applications/subtabs/rails_4-2-0/config/initializers/inflections.rb +16 -0
  747. data/spec/applications/subtabs/rails_4-2-0/config/initializers/mime_types.rb +4 -0
  748. data/spec/applications/subtabs/rails_4-2-0/config/initializers/session_store.rb +3 -0
  749. data/spec/applications/subtabs/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
  750. data/spec/applications/subtabs/rails_4-2-0/config/locales/en.yml +23 -0
  751. data/spec/applications/subtabs/rails_4-2-0/config/routes.rb +89 -0
  752. data/spec/applications/subtabs/rails_4-2-0/config/secrets.yml +22 -0
  753. data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142149_create_galaxies.rb +9 -0
  754. data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142150_create_galaxies_elliptical_galaxies.rb +9 -0
  755. data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142152_create_galaxies_lenticular_galaxies.rb +9 -0
  756. data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142154_create_galaxies_spiral_galaxies.rb +9 -0
  757. data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142156_create_planets.rb +9 -0
  758. data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142158_create_exoplanets.rb +9 -0
  759. data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142200_create_rogue_planets.rb +9 -0
  760. data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142202_create_stars.rb +9 -0
  761. data/spec/applications/subtabs/rails_4-2-0/db/schema.rb +64 -0
  762. data/spec/applications/subtabs/rails_4-2-0/db/seeds.rb +7 -0
  763. data/spec/applications/subtabs/rails_4-2-0/lib/assets/.keep +0 -0
  764. data/spec/applications/subtabs/rails_4-2-0/lib/tasks/.keep +0 -0
  765. data/spec/applications/subtabs/rails_4-2-0/lib/tasks/testing.rake +1 -0
  766. data/spec/applications/subtabs/rails_4-2-0/log/.keep +0 -0
  767. data/spec/applications/subtabs/rails_4-2-0/public/404.html +67 -0
  768. data/spec/applications/subtabs/rails_4-2-0/public/422.html +67 -0
  769. data/spec/applications/subtabs/rails_4-2-0/public/500.html +66 -0
  770. data/spec/applications/subtabs/rails_4-2-0/public/favicon.ico +0 -0
  771. data/spec/applications/subtabs/rails_4-2-0/public/robots.txt +5 -0
  772. data/spec/applications/subtabs/rails_4-2-0/public/stylesheets/application.css +104 -0
  773. data/spec/applications/subtabs/rails_4-2-0/public/stylesheets/reset.css +52 -0
  774. data/spec/applications/subtabs/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
  775. data/spec/applications/subtabs/rails_4-2-0/spec/features/subtabs_spec.rb +69 -0
  776. data/spec/applications/subtabs/rails_4-2-0/spec/spec_helper.rb +39 -0
  777. data/spec/applications/subtabs/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
  778. data/spec/applications/subtabs/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
  779. data/spec/applications/subtabs/rails_4-2-0/test/controllers/.keep +0 -0
  780. data/spec/applications/subtabs/rails_4-2-0/test/fixtures/.keep +0 -0
  781. data/spec/applications/subtabs/rails_4-2-0/test/helpers/.keep +0 -0
  782. data/spec/applications/subtabs/rails_4-2-0/test/integration/.keep +0 -0
  783. data/spec/applications/subtabs/rails_4-2-0/test/mailers/.keep +0 -0
  784. data/spec/applications/subtabs/rails_4-2-0/test/models/.keep +0 -0
  785. data/spec/applications/subtabs/rails_4-2-0/test/test_helper.rb +10 -0
  786. data/spec/applications/subtabs/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
  787. data/spec/applications/subtabs/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
  788. data/spec/applications/subtabs/shared/spec/features/subtabs_spec.rb +3 -3
  789. data/spec/applications/universal/spec/spec_helper.rb +2 -0
  790. data/spec/applications/universal_gemfile.rb +20 -1
  791. data/tabulous.gemspec +1 -1
  792. metadata +804 -50
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'front page' do
4
+ it 'should have an explanation' do
5
+ visit '/'
6
+ expect(page).to have_text('Explanation')
7
+ end
8
+ end
@@ -0,0 +1,272 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'a tab' do
4
+
5
+ include TabHelpers
6
+
7
+ context 'with valid active_when declarations' do
8
+ before(:each) do
9
+ use_tab_file %Q{
10
+ Tabulous.setup do
11
+
12
+ tabs do
13
+ home_tab do
14
+ text 'Explanation'
15
+ link_path { root_path }
16
+ visible_when { true }
17
+ enabled_when { true }
18
+ active_when { in_action('any').of_controller('home') }
19
+ end
20
+
21
+ galaxies_tab do
22
+ text 'Galaxies'
23
+ link_path { galaxies_path }
24
+ visible_when { true }
25
+ enabled_when { true }
26
+ active_when { in_action('any').of_controller('planets') }
27
+ end
28
+
29
+ stars_tab do
30
+ text 'Stars'
31
+ link_path { stars_path }
32
+ visible_when { true }
33
+ enabled_when { true }
34
+ active_when { in_action('index').of_controller('stars') }
35
+ end
36
+
37
+ planets_tab do
38
+ text 'Planets'
39
+ link_path { planets_path }
40
+ visible_when { true }
41
+ enabled_when { true }
42
+ active_when { in_actions('index', 'new').of_controller('galaxies') }
43
+ end
44
+
45
+ subtabs_tab do
46
+ text 'Subtabs'
47
+ link_path '/subtabs/one'
48
+ visible_when { true }
49
+ enabled_when { true }
50
+ active_when { a_subtab_is_active }
51
+ end
52
+
53
+ one_subtab do
54
+ text 'One'
55
+ link_path '/subtabs/one'
56
+ visible_when { true }
57
+ enabled_when { true }
58
+ active_when { in_action('one').of_controller('subtabs') }
59
+ end
60
+
61
+ two_subtab do
62
+ text 'Two'
63
+ link_path '/subtabs/two'
64
+ visible_when { true }
65
+ enabled_when { true }
66
+ active_when do
67
+ in_action('two').of_controller('subtabs')
68
+ in_action('three').of_controller('subtabs')
69
+ end
70
+ end
71
+
72
+ three_subtab do
73
+ text 'Three'
74
+ link_path '/subtabs/three'
75
+ visible_when { true }
76
+ enabled_when { true }
77
+ active_when { in_action('none').of_controller('subtabs') }
78
+ end
79
+ end
80
+
81
+ end
82
+ }
83
+ visit '/'
84
+ end
85
+
86
+ context 'not specified' do
87
+ context 'when visiting that implied action' do
88
+ before(:each) { visit '/' }
89
+ it 'should render the view associated with that action' do
90
+ page.should have_content('This tests tabulous in all sorts of configurations.')
91
+ end
92
+ it 'should activate the tab associated with that action' do
93
+ active_tab.should == 'Explanation'
94
+ end
95
+ end
96
+ end
97
+
98
+ context 'specified explicitly' do
99
+ context 'when visiting that action' do
100
+ before(:each) { click_link 'Stars' }
101
+ it 'should render the view associated with that action' do
102
+ page.should have_content('Listing Stars')
103
+ end
104
+ it 'should activate the tab associated with that action' do
105
+ active_tab.should == 'Stars'
106
+ end
107
+ end
108
+ end
109
+
110
+ context 'specified using :any' do
111
+ context 'when visiting an action' do
112
+ before(:each) { click_link 'Galaxies' }
113
+ it 'should render the view associated with that action' do
114
+ page.should have_content('Listing Galaxies')
115
+ end
116
+ it 'should activate the tab associated with that action' do
117
+ active_tab.should == 'Planets'
118
+ end
119
+ end
120
+ context 'when visiting another action' do
121
+ before(:each) do
122
+ click_link 'Galaxies'
123
+ click_link 'New Galaxy'
124
+ end
125
+ it 'should render the view associated with that action' do
126
+ page.should have_content('New Galaxy')
127
+ end
128
+ it 'should activate the tab associated with that action' do
129
+ active_tab.should == 'Planets'
130
+ end
131
+ end
132
+ end
133
+
134
+ context 'multiple actions specified' do
135
+ context 'when visiting the first action' do
136
+ before(:each) { click_link 'Planets' }
137
+ it 'should render the view associated with that action' do
138
+ page.should have_content('Listing Planets')
139
+ end
140
+ it 'should activate the tab associated with that action' do
141
+ active_tab.should == 'Galaxies'
142
+ end
143
+ end
144
+ context 'when visiting the second action' do
145
+ before(:each) do
146
+ click_link 'Planets'
147
+ click_link 'New Planet'
148
+ end
149
+ it 'should render the view associated with that action' do
150
+ page.should have_content('New Planet')
151
+ end
152
+ it 'should activate the tab associated with that action' do
153
+ active_tab.should == 'Galaxies'
154
+ end
155
+ end
156
+ end
157
+
158
+ context 'multiple declarations' do
159
+ context 'when visiting the first action' do
160
+ before(:each) do
161
+ click_link 'Subtabs'
162
+ click_link 'Two'
163
+ end
164
+ it 'should render the view associated with that action' do
165
+ page.should have_content('Subtab #2')
166
+ end
167
+ it 'should activate the subtab associated with that action' do
168
+ active_subtab.should == 'Two'
169
+ end
170
+ end
171
+ context 'when visiting the second action' do
172
+ before(:each) do
173
+ click_link 'Subtabs'
174
+ click_link 'Three'
175
+ end
176
+ it 'should render the view associated with that action' do
177
+ page.should have_content('Subtab #3')
178
+ end
179
+ it 'should activate the subtab associated with that action' do
180
+ active_subtab.should == 'Two'
181
+ end
182
+ end
183
+ end
184
+ end
185
+
186
+ context 'with an unknown declaration' do
187
+ let(:tab_file) {
188
+ %Q{
189
+ Tabulous.setup do
190
+ tabs do
191
+ home_tab do
192
+ text 'Explanation'
193
+ link_path { root_path }
194
+ visible_when { true }
195
+ enabled_when { true }
196
+ active_when { bork }
197
+ end
198
+ end
199
+ end
200
+ }
201
+ }
202
+ it 'should raise an error' do
203
+ expect { use_tab_file(tab_file) }.to raise_error(Tabulous::UnknownDeclarationError)
204
+ end
205
+ end
206
+
207
+ context 'with conflicting active_when declarations' do
208
+ let(:tab_file) {
209
+ %Q{
210
+ Tabulous.setup do
211
+ tabs do
212
+ home_tab do
213
+ text 'Explanation'
214
+ link_path { root_path }
215
+ visible_when { true }
216
+ enabled_when { true }
217
+ active_when { in_action('index').of_controller('home') }
218
+ end
219
+
220
+ galaxies_tab do
221
+ text 'Galaxies'
222
+ link_path { galaxies_path }
223
+ visible_when { true }
224
+ enabled_when { true }
225
+ active_when { in_action('any').of_controller('home') }
226
+ end
227
+ end
228
+ end
229
+ }
230
+ }
231
+ it 'should raise an error' do
232
+ expect { use_tab_file(tab_file) }.to raise_error(Tabulous::AmbiguousActiveTabRulesError)
233
+ end
234
+ end
235
+
236
+ context 'missing a_subtab_is_active declaration' do
237
+ let(:tab_file) {
238
+ %Q{
239
+ Tabulous.setup do
240
+ tabs do
241
+ home_tab do
242
+ text 'Explanation'
243
+ link_path { root_path }
244
+ visible_when { true }
245
+ enabled_when { true }
246
+ active_when { in_action('any').of_controller('home') }
247
+ end
248
+
249
+ subtabs_tab do
250
+ text 'Subtabs'
251
+ link_path '/subtabs/one'
252
+ visible_when { true }
253
+ enabled_when { true }
254
+ active_when { in_action('two').of_controller('subtabs') }
255
+ end
256
+
257
+ one_subtab do
258
+ text 'One'
259
+ link_path '/subtabs/one'
260
+ visible_when { true }
261
+ enabled_when { true }
262
+ active_when { in_action('one').of_controller('subtabs') }
263
+ end
264
+ end
265
+ end
266
+ }
267
+ }
268
+ it 'should raise an error' do
269
+ expect { use_tab_file(tab_file) }.to raise_error(Tabulous::MissingActiveTabRuleError)
270
+ end
271
+ end
272
+ end
@@ -0,0 +1,177 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'tab DSL' do
4
+ include TabHelpers
5
+
6
+ context 'missing text' do
7
+ let(:tab_file) {
8
+ %Q{
9
+ Tabulous.setup do
10
+ tabs do
11
+ home_tab do
12
+ link_path { root_path }
13
+ visible_when { true }
14
+ enabled_when { true }
15
+ active_when { in_action('any').of_controller('home') }
16
+ end
17
+ end
18
+ end
19
+ }
20
+ }
21
+ it "should raise an error" do
22
+ expect { use_tab_file(tab_file) }.to raise_error(Tabulous::MissingDeclarationError)
23
+ end
24
+ end
25
+
26
+ context 'missing link_path' do
27
+ let(:tab_file) {
28
+ %Q{
29
+ Tabulous.setup do
30
+ tabs do
31
+ home_tab do
32
+ text 'Explanation'
33
+ visible_when { true }
34
+ enabled_when { true }
35
+ active_when { in_action('any').of_controller('home') }
36
+ end
37
+ end
38
+ end
39
+ }
40
+ }
41
+ it "should raise an error" do
42
+ expect { use_tab_file(tab_file) }.to raise_error(Tabulous::MissingDeclarationError)
43
+ end
44
+ end
45
+
46
+ context 'missing visible_when' do
47
+ let(:tab_file) {
48
+ %Q{
49
+ Tabulous.setup do
50
+ tabs do
51
+ home_tab do
52
+ text 'Explanation'
53
+ link_path { root_path }
54
+ enabled_when { true }
55
+ active_when { in_action('any').of_controller('home') }
56
+ end
57
+ end
58
+ end
59
+ }
60
+ }
61
+ it "should raise an error" do
62
+ expect { use_tab_file(tab_file) }.to raise_error(Tabulous::MissingDeclarationError)
63
+ end
64
+ end
65
+
66
+ context 'missing enabled_when' do
67
+ let(:tab_file) {
68
+ %Q{
69
+ Tabulous.setup do
70
+ tabs do
71
+ home_tab do
72
+ text 'Explanation'
73
+ link_path { root_path }
74
+ visible_when { true }
75
+ active_when { in_action('any').of_controller('home') }
76
+ end
77
+ end
78
+ end
79
+ }
80
+ }
81
+ it "should raise an error" do
82
+ expect { use_tab_file(tab_file) }.to raise_error(Tabulous::MissingDeclarationError)
83
+ end
84
+ end
85
+
86
+ context 'missing active_when' do
87
+ let(:tab_file) {
88
+ %Q{
89
+ Tabulous.setup do
90
+ tabs do
91
+ home_tab do
92
+ text 'Explanation'
93
+ link_path { root_path }
94
+ visible_when { true }
95
+ enabled_when { true }
96
+ end
97
+ end
98
+ end
99
+ }
100
+ }
101
+ it "should raise an error" do
102
+ expect { use_tab_file(tab_file) }.to raise_error(Tabulous::MissingDeclarationError)
103
+ end
104
+ end
105
+
106
+ context 'unknown declaration' do
107
+ let(:tab_file) {
108
+ %Q{
109
+ Tabulous.setup do
110
+ tabs do
111
+ home_tab do
112
+ text 'Explanation'
113
+ link_path { root_path }
114
+ not_known
115
+ visible_when { true }
116
+ enabled_when { true }
117
+ end
118
+ end
119
+ end
120
+ }
121
+ }
122
+ it "should raise an error" do
123
+ expect { use_tab_file(tab_file) }.to raise_error(Tabulous::UnknownDeclarationError)
124
+ end
125
+ end
126
+
127
+ context 'text that is not a string' do
128
+ before(:each) do
129
+ use_tab_file %Q{
130
+ Tabulous.setup do
131
+ tabs do
132
+ home_tab do
133
+ text :foo
134
+ link_path { root_path }
135
+ visible_when { true }
136
+ enabled_when { true }
137
+ active_when { in_action('any').of_controller('home') }
138
+ end
139
+ end
140
+ end
141
+ }
142
+ end
143
+ it "should raise an error" do
144
+ expect { visit '/' }.to raise_error
145
+ end
146
+ end
147
+
148
+ context 'link_path that is not a string' do
149
+ before(:each) do
150
+ use_tab_file %Q{
151
+ Tabulous.setup do
152
+ tabs do
153
+ home_tab do
154
+ text 'Explanation'
155
+ link_path { root_path }
156
+ visible_when { true }
157
+ enabled_when { true }
158
+ active_when { in_action('any').of_controller('home') }
159
+ end
160
+
161
+ galaxies_tab do
162
+ text 'Galaxies'
163
+ link_path Math::PI
164
+ visible_when { true }
165
+ enabled_when { true }
166
+ active_when { in_action('any').of_controller('planets') }
167
+ end
168
+ end
169
+ end
170
+ }
171
+ end
172
+ it "should raise an error" do
173
+ expect { visit '/' }.to raise_error
174
+ end
175
+ end
176
+
177
+ end