tabulous 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +9 -0
- data/CHANGELOG.md +3 -0
- data/CONTRIBUTING.md +1 -1
- data/README.md +1 -1
- data/Rakefile +4 -1
- data/lib/generators/tabs/templates/tabulous.rb +1 -0
- data/lib/tabulous/version.rb +1 -1
- data/script/for_all_test_apps +3 -1
- data/spec/applications/bootstrap/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/bootstrap/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/bootstrap/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/bootstrap/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/no_tabs.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/javascripts/subtabs.coffee +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/application.scss +19 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/no_tabs.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/assets/stylesheets/subtabs.scss +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/no_tabs_controller.rb +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/controllers/subtabs_controller.rb +10 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/no_tabs_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/helpers/subtabs_helper.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/tabs/tabulous.rb +81 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/home/index.html.erb +2 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/layouts/application.html.erb +26 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/no_tabs/index.html.erb +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/index.html.erb +27 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/new.html.erb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/show.html.erb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/subtabs/one.html.erb +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/subtabs/three.html.erb +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/app/views/subtabs/two.html.erb +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/bootstrap/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/bootstrap/rails_4-2-0/config.ru +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/routes.rb +74 -0
- data/spec/applications/bootstrap/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/migrate/20141222134203_create_galaxies.rb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/migrate/20141222134205_create_planets.rb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/migrate/20141222134207_create_stars.rb +9 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/schema.rb +34 -0
- data/spec/applications/bootstrap/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/bootstrap/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/bootstrap/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/bootstrap/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/bootstrap/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/bootstrap/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/bootstrap/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/bootstrap/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/bootstrap/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/custom_renderer/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/custom_renderer/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/custom_renderer/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/tabs/custom_renderer.rb +29 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/tabs/tabulous.rb +45 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/home/index.html.erb +2 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/layouts/application.html.erb +14 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/index.html.erb +27 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/new.html.erb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/show.html.erb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/custom_renderer/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config.ru +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/routes.rb +65 -0
- data/spec/applications/custom_renderer/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/migrate/20141222134851_create_galaxies.rb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/migrate/20141222134853_create_planets.rb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/migrate/20141222134855_create_stars.rb +9 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/schema.rb +34 -0
- data/spec/applications/custom_renderer/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/custom_renderer/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/custom_renderer/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/features/custom_renderer_spec.rb +11 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/custom_renderer/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/custom_renderer/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/custom_renderer/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/main/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/main/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/main/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/main/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/no_tabs.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/javascripts/subtabs.coffee +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/no_tabs.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/assets/stylesheets/subtabs.scss +3 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/no_tabs_controller.rb +4 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/main/rails_4-2-0/app/controllers/subtabs_controller.rb +10 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/no_tabs_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/helpers/subtabs_helper.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/main/rails_4-2-0/app/tabs/tabulous.rb +78 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
- data/spec/applications/main/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/home/index.html.erb +2 -0
- data/spec/applications/main/rails_4-2-0/app/views/layouts/application.html.erb +14 -0
- data/spec/applications/main/rails_4-2-0/app/views/no_tabs/index.html.erb +3 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/index.html.erb +27 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/new.html.erb +5 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/show.html.erb +9 -0
- data/spec/applications/main/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/main/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/subtabs/one.html.erb +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/subtabs/three.html.erb +1 -0
- data/spec/applications/main/rails_4-2-0/app/views/subtabs/two.html.erb +1 -0
- data/spec/applications/main/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/main/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/main/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/main/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/main/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/main/rails_4-2-0/config.ru +4 -0
- data/spec/applications/main/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/main/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/main/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/main/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/main/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/main/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/main/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/main/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/main/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/main/rails_4-2-0/config/routes.rb +74 -0
- data/spec/applications/main/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/main/rails_4-2-0/db/migrate/20141221212743_create_galaxies.rb +9 -0
- data/spec/applications/main/rails_4-2-0/db/migrate/20141221212744_create_planets.rb +9 -0
- data/spec/applications/main/rails_4-2-0/db/migrate/20141221212746_create_stars.rb +9 -0
- data/spec/applications/main/rails_4-2-0/db/schema.rb +34 -0
- data/spec/applications/main/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/main/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/main/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/main/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/main/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/main/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/main/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/main/rails_4-2-0/spec/features/css_scaffolding_spec.rb +194 -0
- data/spec/applications/main/rails_4-2-0/spec/features/customize_active_tab_clickable_spec.rb +110 -0
- data/spec/applications/main/rails_4-2-0/spec/features/customize_render_subtabs_when_empty_spec.rb +116 -0
- data/spec/applications/main/rails_4-2-0/spec/features/customize_renderer_spec.rb +107 -0
- data/spec/applications/main/rails_4-2-0/spec/features/customize_when_action_has_no_tab_spec.rb +115 -0
- data/spec/applications/main/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_active_when_spec.rb +272 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_dsl_errors_spec.rb +177 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_enabled_when_spec.rb +114 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_link_path_spec.rb +114 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_order_spec.rb +94 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_text_spec.rb +104 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tab_visible_when_spec.rb +114 -0
- data/spec/applications/main/rails_4-2-0/spec/features/tabs_dsl_errors_spec.rb +97 -0
- data/spec/applications/main/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/main/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/main/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/main/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/main/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/main/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/main/shared/spec/features/css_scaffolding_spec.rb +2 -2
- data/spec/applications/main/shared/spec/features/tab_active_when_spec.rb +5 -5
- data/spec/applications/main/shared/spec/features/tab_link_path_spec.rb +4 -4
- data/spec/applications/multiple_tabsets/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/galaxies/elliptical_galaxies.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/galaxies/lenticular_galaxies.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/galaxies/spiral_galaxies.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/planets/exoplanets.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/javascripts/planets/rogue_planets.coffee +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/galaxies/elliptical_galaxies.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/galaxies/lenticular_galaxies.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/galaxies/spiral_galaxies.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/planets/exoplanets.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/planets/rogue_planets.scss +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/galaxies/elliptical_galaxies_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/galaxies/lenticular_galaxies_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/galaxies/spiral_galaxies_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/planets/exoplanets_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/controllers/planets/rogue_planets_controller.rb +74 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/galaxies/elliptical_galaxies_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/galaxies/lenticular_galaxies_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/galaxies/spiral_galaxies_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/planets/exoplanets_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/helpers/planets/rogue_planets_helper.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies.rb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies/elliptical_galaxy.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies/lenticular_galaxy.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/galaxies/spiral_galaxy.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/planets.rb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/planets/exoplanet.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/models/planets/rogue_planet.rb +2 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/tabs/tabulous.rb +56 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/home/index.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/layouts/application.html.erb +12 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/exoplanets/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/_form.html.erb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/edit.html.erb +6 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/index.html.erb +27 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/index.json.jbuilder +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/new.html.erb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/show.html.erb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/app/views/planets/rogue_planets/show.json.jbuilder +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config.ru +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/routes.rb +79 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134928_create_galaxies_elliptical_galaxies.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134930_create_galaxies_lenticular_galaxies.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134932_create_galaxies_spiral_galaxies.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134934_create_planets_exoplanets.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/migrate/20141222134936_create_planets_rogue_planets.rb +9 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/schema.rb +46 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/features/multiple_tabsets_spec.rb +21 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/multiple_tabsets/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/simple_tabs/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/simple_tabs/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/simple_tabs/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/galaxies.coffee +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/planets.coffee +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/application.css +15 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/galaxies.scss +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/planets.scss +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/galaxies_controller.rb +74 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/planets_controller.rb +74 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/galaxies_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/planets_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/tabs/tabulous.rb +41 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/_form.html.erb +21 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/edit.html.erb +6 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/index.html.erb +27 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/index.json.jbuilder +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/new.html.erb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/show.html.erb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/galaxies/show.json.jbuilder +1 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/home/index.html.erb +2 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/layouts/application.html.erb +14 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/_form.html.erb +21 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/edit.html.erb +6 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/index.html.erb +27 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/index.json.jbuilder +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/new.html.erb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/show.html.erb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/planets/show.json.jbuilder +1 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/simple_tabs/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config.ru +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/assets.rb +11 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/routes.rb +65 -0
- data/spec/applications/simple_tabs/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/migrate/20141222135007_create_galaxies.rb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/migrate/20141222135009_create_planets.rb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/migrate/20141222135011_create_stars.rb +9 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/schema.rb +34 -0
- data/spec/applications/simple_tabs/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/simple_tabs/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/simple_tabs/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/features/simple_tabs_spec.rb +46 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/simple_tabs/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/simple_tabs/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/simple_tabs/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/simple_tabs/shared/spec/features/simple_tabs_spec.rb +9 -9
- data/spec/applications/subtabs/application_template.rb +14 -0
- data/spec/applications/subtabs/rails_4-2-0/.gitignore +17 -0
- data/spec/applications/subtabs/rails_4-2-0/Gemfile +26 -0
- data/spec/applications/subtabs/rails_4-2-0/README.rdoc +28 -0
- data/spec/applications/subtabs/rails_4-2-0/Rakefile +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/images/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/application.js +16 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/exoplanets.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/galaxies/elliptical_galaxies.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/galaxies/lenticular_galaxies.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/galaxies/spiral_galaxies.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/home.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/misc.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/rogue_planets.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/javascripts/stars.coffee +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/application.css +67 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/exoplanets.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/galaxies/elliptical_galaxies.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/galaxies/lenticular_galaxies.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/galaxies/spiral_galaxies.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/home.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/misc.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/reset.css +52 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/rogue_planets.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/scaffolds.scss +69 -0
- data/spec/applications/subtabs/rails_4-2-0/app/assets/stylesheets/stars.scss +3 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/application_controller.rb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/concerns/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/exoplanets_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/galaxies/elliptical_galaxies_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/galaxies/lenticular_galaxies_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/galaxies/spiral_galaxies_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/home_controller.rb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/misc_controller.rb +13 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/rogue_planets_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/controllers/stars_controller.rb +74 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/application_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/exoplanets_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/galaxies/elliptical_galaxies_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/galaxies/lenticular_galaxies_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/galaxies/spiral_galaxies_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/home_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/misc_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/rogue_planets_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/helpers/stars_helper.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/mailers/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/concerns/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/exoplanet.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies.rb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies/elliptical_galaxy.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies/lenticular_galaxy.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxies/spiral_galaxy.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/galaxy.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/planet.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/rogue_planet.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/models/star.rb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/tabs/tabulous.rb +134 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/exoplanets/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/elliptical_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/lenticular_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/galaxies/spiral_galaxies/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/home/index.html.erb +12 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/layouts/application.html.erb +20 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_disabled.html.erb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_enabled.html.erb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_hidden.html.erb +2 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/misc/always_visible.html.erb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/rogue_planets/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/_form.html.erb +21 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/edit.html.erb +6 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/index.html.erb +27 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/index.json.jbuilder +4 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/new.html.erb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/show.html.erb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/app/views/stars/show.json.jbuilder +1 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/bundle +3 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/rails +8 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/rake +8 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/setup +29 -0
- data/spec/applications/subtabs/rails_4-2-0/bin/spring +18 -0
- data/spec/applications/subtabs/rails_4-2-0/config.ru +4 -0
- data/spec/applications/subtabs/rails_4-2-0/config/application.rb +26 -0
- data/spec/applications/subtabs/rails_4-2-0/config/boot.rb +3 -0
- data/spec/applications/subtabs/rails_4-2-0/config/database.yml +25 -0
- data/spec/applications/subtabs/rails_4-2-0/config/environment.rb +5 -0
- data/spec/applications/subtabs/rails_4-2-0/config/environments/development.rb +41 -0
- data/spec/applications/subtabs/rails_4-2-0/config/environments/production.rb +79 -0
- data/spec/applications/subtabs/rails_4-2-0/config/environments/test.rb +42 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/assets.rb +12 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/cookies_serializer.rb +3 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/inflections.rb +16 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/mime_types.rb +4 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/session_store.rb +3 -0
- data/spec/applications/subtabs/rails_4-2-0/config/initializers/wrap_parameters.rb +14 -0
- data/spec/applications/subtabs/rails_4-2-0/config/locales/en.yml +23 -0
- data/spec/applications/subtabs/rails_4-2-0/config/routes.rb +89 -0
- data/spec/applications/subtabs/rails_4-2-0/config/secrets.yml +22 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142149_create_galaxies.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142150_create_galaxies_elliptical_galaxies.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142152_create_galaxies_lenticular_galaxies.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142154_create_galaxies_spiral_galaxies.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142156_create_planets.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142158_create_exoplanets.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142200_create_rogue_planets.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/migrate/20141222142202_create_stars.rb +9 -0
- data/spec/applications/subtabs/rails_4-2-0/db/schema.rb +64 -0
- data/spec/applications/subtabs/rails_4-2-0/db/seeds.rb +7 -0
- data/spec/applications/subtabs/rails_4-2-0/lib/assets/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/lib/tasks/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/lib/tasks/testing.rake +1 -0
- data/spec/applications/subtabs/rails_4-2-0/log/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/public/404.html +67 -0
- data/spec/applications/subtabs/rails_4-2-0/public/422.html +67 -0
- data/spec/applications/subtabs/rails_4-2-0/public/500.html +66 -0
- data/spec/applications/subtabs/rails_4-2-0/public/favicon.ico +0 -0
- data/spec/applications/subtabs/rails_4-2-0/public/robots.txt +5 -0
- data/spec/applications/subtabs/rails_4-2-0/public/stylesheets/application.css +104 -0
- data/spec/applications/subtabs/rails_4-2-0/public/stylesheets/reset.css +52 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/features/front_page_spec.rb +8 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/features/subtabs_spec.rb +69 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/spec_helper.rb +39 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/support/should_be_clickable.rb +15 -0
- data/spec/applications/subtabs/rails_4-2-0/spec/support/tab_helpers.rb +51 -0
- data/spec/applications/subtabs/rails_4-2-0/test/controllers/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/fixtures/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/helpers/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/integration/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/mailers/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/models/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/test/test_helper.rb +10 -0
- data/spec/applications/subtabs/rails_4-2-0/vendor/assets/javascripts/.keep +0 -0
- data/spec/applications/subtabs/rails_4-2-0/vendor/assets/stylesheets/.keep +0 -0
- data/spec/applications/subtabs/shared/spec/features/subtabs_spec.rb +3 -3
- data/spec/applications/universal/spec/spec_helper.rb +2 -0
- data/spec/applications/universal_gemfile.rb +20 -1
- data/tabulous.gemspec +1 -1
- metadata +804 -50
@@ -0,0 +1,110 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'active_tab_clickable' do
|
4
|
+
|
5
|
+
include TabHelpers
|
6
|
+
|
7
|
+
def init(active_tab_clickable)
|
8
|
+
use_tab_file %Q{
|
9
|
+
Tabulous.setup do
|
10
|
+
|
11
|
+
tabs do
|
12
|
+
home_tab do
|
13
|
+
text 'Explanation'
|
14
|
+
link_path { root_path }
|
15
|
+
visible_when { true }
|
16
|
+
enabled_when { true }
|
17
|
+
active_when { in_action('any').of_controller('home') }
|
18
|
+
end
|
19
|
+
|
20
|
+
galaxies_tab do
|
21
|
+
text 'Galaxies'
|
22
|
+
link_path { galaxies_path }
|
23
|
+
visible_when { true }
|
24
|
+
enabled_when { true }
|
25
|
+
active_when { in_action('any').of_controller('galaxies') }
|
26
|
+
end
|
27
|
+
|
28
|
+
stars_tab do
|
29
|
+
text 'Stars'
|
30
|
+
link_path { stars_path }
|
31
|
+
visible_when { true }
|
32
|
+
enabled_when { true }
|
33
|
+
active_when { in_action('any').of_controller('stars') }
|
34
|
+
end
|
35
|
+
|
36
|
+
planets_tab do
|
37
|
+
text 'Planets'
|
38
|
+
link_path { planets_path }
|
39
|
+
visible_when { true }
|
40
|
+
enabled_when { true }
|
41
|
+
active_when { in_action('any').of_controller('planets') }
|
42
|
+
end
|
43
|
+
|
44
|
+
subtabs_tab do
|
45
|
+
text 'Subtabs'
|
46
|
+
link_path '/subtabs/one'
|
47
|
+
visible_when { true }
|
48
|
+
enabled_when { true }
|
49
|
+
active_when { a_subtab_is_active }
|
50
|
+
end
|
51
|
+
|
52
|
+
one_subtab do
|
53
|
+
text 'One'
|
54
|
+
link_path '/subtabs/one'
|
55
|
+
visible_when { true }
|
56
|
+
enabled_when { true }
|
57
|
+
active_when { in_action('one').of_controller('subtabs') }
|
58
|
+
end
|
59
|
+
|
60
|
+
two_subtab do
|
61
|
+
text 'Two'
|
62
|
+
link_path '/subtabs/two'
|
63
|
+
visible_when { true }
|
64
|
+
enabled_when { true }
|
65
|
+
active_when { in_action('two').of_controller('subtabs') }
|
66
|
+
end
|
67
|
+
|
68
|
+
three_subtab do
|
69
|
+
text 'Three'
|
70
|
+
link_path '/subtabs/three'
|
71
|
+
visible_when { true }
|
72
|
+
enabled_when { true }
|
73
|
+
active_when { in_action('three').of_controller('subtabs') }
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
customize do
|
78
|
+
active_tab_clickable #{active_tab_clickable}
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
}
|
83
|
+
visit '/'
|
84
|
+
end
|
85
|
+
|
86
|
+
context 'when true' do
|
87
|
+
before(:each) { init(true) }
|
88
|
+
it 'should allow the active tab to be clickable' do
|
89
|
+
click_link 'Galaxies'
|
90
|
+
active_tab.should == 'Galaxies'
|
91
|
+
'Galaxies'.should be_clickable
|
92
|
+
click_link 'Subtabs'
|
93
|
+
active_tab.should == 'Subtabs'
|
94
|
+
'Subtabs'.should be_clickable
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
context 'when false' do
|
99
|
+
before(:each) { init(false) }
|
100
|
+
it 'should not allow the active tab to be clickable' do
|
101
|
+
click_link 'Galaxies'
|
102
|
+
active_tab.should == 'Galaxies'
|
103
|
+
'Galaxies'.should_not be_clickable
|
104
|
+
click_link 'Subtabs'
|
105
|
+
active_tab.should == 'Subtabs'
|
106
|
+
'Subtabs'.should_not be_clickable
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
data/spec/applications/main/rails_4-2-0/spec/features/customize_render_subtabs_when_empty_spec.rb
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'render_subtabs_when_empty' do
|
4
|
+
|
5
|
+
include TabHelpers
|
6
|
+
|
7
|
+
def init(render_subtabs_when_empty)
|
8
|
+
use_tab_file %Q{
|
9
|
+
Tabulous.setup do
|
10
|
+
|
11
|
+
tabs do
|
12
|
+
home_tab do
|
13
|
+
text 'Explanation'
|
14
|
+
link_path { root_path }
|
15
|
+
visible_when { true }
|
16
|
+
enabled_when { true }
|
17
|
+
active_when { in_action('any').of_controller('home') }
|
18
|
+
end
|
19
|
+
|
20
|
+
galaxies_tab do
|
21
|
+
text 'Galaxies'
|
22
|
+
link_path { galaxies_path }
|
23
|
+
visible_when { true }
|
24
|
+
enabled_when { true }
|
25
|
+
active_when { in_action('any').of_controller('galaxies') }
|
26
|
+
end
|
27
|
+
|
28
|
+
stars_tab do
|
29
|
+
text 'Stars'
|
30
|
+
link_path { stars_path }
|
31
|
+
visible_when { true }
|
32
|
+
enabled_when { true }
|
33
|
+
active_when { in_action('any').of_controller('stars') }
|
34
|
+
end
|
35
|
+
|
36
|
+
planets_tab do
|
37
|
+
text 'Planets'
|
38
|
+
link_path { planets_path }
|
39
|
+
visible_when { true }
|
40
|
+
enabled_when { true }
|
41
|
+
active_when { in_action('any').of_controller('planets') }
|
42
|
+
end
|
43
|
+
|
44
|
+
subtabs_tab do
|
45
|
+
text 'Subtabs'
|
46
|
+
link_path '/subtabs/one'
|
47
|
+
visible_when { true }
|
48
|
+
enabled_when { true }
|
49
|
+
active_when { a_subtab_is_active }
|
50
|
+
end
|
51
|
+
|
52
|
+
one_subtab do
|
53
|
+
text 'One'
|
54
|
+
link_path '/subtabs/one'
|
55
|
+
visible_when { true }
|
56
|
+
enabled_when { true }
|
57
|
+
active_when { in_action('one').of_controller('subtabs') }
|
58
|
+
end
|
59
|
+
|
60
|
+
two_subtab do
|
61
|
+
text 'Two'
|
62
|
+
link_path '/subtabs/two'
|
63
|
+
visible_when { true }
|
64
|
+
enabled_when { true }
|
65
|
+
active_when { in_action('two').of_controller('subtabs') }
|
66
|
+
end
|
67
|
+
|
68
|
+
three_subtab do
|
69
|
+
text 'Three'
|
70
|
+
link_path '/subtabs/three'
|
71
|
+
visible_when { true }
|
72
|
+
enabled_when { true }
|
73
|
+
active_when { in_action('three').of_controller('subtabs') }
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
customize do
|
78
|
+
render_subtabs_when_empty #{render_subtabs_when_empty}
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
}
|
83
|
+
visit '/'
|
84
|
+
end
|
85
|
+
|
86
|
+
context 'when true' do
|
87
|
+
before(:each) { init(true) }
|
88
|
+
it 'should always include subtabs in the markup' do
|
89
|
+
subtabs_should_be_present
|
90
|
+
click_link 'Galaxies'
|
91
|
+
subtabs_should_be_present
|
92
|
+
click_link 'Stars'
|
93
|
+
subtabs_should_be_present
|
94
|
+
click_link 'Planets'
|
95
|
+
subtabs_should_be_present
|
96
|
+
click_link 'Subtabs'
|
97
|
+
subtabs_should_be_present
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
context 'when false' do
|
102
|
+
before(:each) { init(false) }
|
103
|
+
it 'should only include subtabs in the markup if that particular tab has subtabs' do
|
104
|
+
subtabs_should_not_be_present
|
105
|
+
click_link 'Galaxies'
|
106
|
+
subtabs_should_not_be_present
|
107
|
+
click_link 'Stars'
|
108
|
+
subtabs_should_not_be_present
|
109
|
+
click_link 'Planets'
|
110
|
+
subtabs_should_not_be_present
|
111
|
+
click_link 'Subtabs'
|
112
|
+
subtabs_should_be_present
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
end
|
@@ -0,0 +1,107 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'renderer' do
|
4
|
+
|
5
|
+
include TabHelpers
|
6
|
+
|
7
|
+
def init(renderer)
|
8
|
+
use_tab_file %Q{
|
9
|
+
Tabulous.setup do
|
10
|
+
|
11
|
+
tabs do
|
12
|
+
home_tab do
|
13
|
+
text 'Explanation'
|
14
|
+
link_path { root_path }
|
15
|
+
visible_when { true }
|
16
|
+
enabled_when { true }
|
17
|
+
active_when { in_action('any').of_controller('home') }
|
18
|
+
end
|
19
|
+
|
20
|
+
galaxies_tab do
|
21
|
+
text 'Galaxies'
|
22
|
+
link_path { galaxies_path }
|
23
|
+
visible_when { true }
|
24
|
+
enabled_when { true }
|
25
|
+
active_when { in_action('any').of_controller('galaxies') }
|
26
|
+
end
|
27
|
+
|
28
|
+
stars_tab do
|
29
|
+
text 'Stars'
|
30
|
+
link_path { stars_path }
|
31
|
+
visible_when { true }
|
32
|
+
enabled_when { true }
|
33
|
+
active_when { in_action('any').of_controller('stars') }
|
34
|
+
end
|
35
|
+
|
36
|
+
planets_tab do
|
37
|
+
text 'Planets'
|
38
|
+
link_path { planets_path }
|
39
|
+
visible_when { true }
|
40
|
+
enabled_when { true }
|
41
|
+
active_when { in_action('any').of_controller('planets') }
|
42
|
+
end
|
43
|
+
|
44
|
+
subtabs_tab do
|
45
|
+
text 'Subtabs'
|
46
|
+
link_path '/subtabs/one'
|
47
|
+
visible_when { true }
|
48
|
+
enabled_when { true }
|
49
|
+
active_when { a_subtab_is_active }
|
50
|
+
end
|
51
|
+
|
52
|
+
one_subtab do
|
53
|
+
text 'One'
|
54
|
+
link_path '/subtabs/one'
|
55
|
+
visible_when { true }
|
56
|
+
enabled_when { true }
|
57
|
+
active_when { in_action('one').of_controller('subtabs') }
|
58
|
+
end
|
59
|
+
|
60
|
+
two_subtab do
|
61
|
+
text 'Two'
|
62
|
+
link_path '/subtabs/two'
|
63
|
+
visible_when { true }
|
64
|
+
enabled_when { true }
|
65
|
+
active_when { in_action('two').of_controller('subtabs') }
|
66
|
+
end
|
67
|
+
|
68
|
+
three_subtab do
|
69
|
+
text 'Three'
|
70
|
+
link_path '/subtabs/three'
|
71
|
+
visible_when { true }
|
72
|
+
enabled_when { true }
|
73
|
+
active_when { in_action('three').of_controller('subtabs') }
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
customize do
|
78
|
+
renderer :#{renderer}
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
}
|
83
|
+
visit '/'
|
84
|
+
end
|
85
|
+
|
86
|
+
context 'when html5' do
|
87
|
+
before(:each) { init(:html5) }
|
88
|
+
it 'should have html5 markup' do
|
89
|
+
page.should_not have_css('div.tabs')
|
90
|
+
page.should have_css('nav.tabs')
|
91
|
+
click_link 'Subtabs'
|
92
|
+
page.should_not have_css('div.subtabs')
|
93
|
+
page.should have_css('nav.subtabs')
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
context 'when default' do
|
98
|
+
before(:each) { init(:default) }
|
99
|
+
it 'should not have html5 markup' do
|
100
|
+
page.should have_css('div.tabs')
|
101
|
+
page.should_not have_css('nav.tabs')
|
102
|
+
click_link 'Subtabs'
|
103
|
+
page.should have_css('div.subtabs')
|
104
|
+
page.should_not have_css('nav.subtabs')
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
data/spec/applications/main/rails_4-2-0/spec/features/customize_when_action_has_no_tab_spec.rb
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'when_action_has_no_tab' do
|
4
|
+
|
5
|
+
include TabHelpers
|
6
|
+
|
7
|
+
def init(behavior)
|
8
|
+
use_tab_file %Q{
|
9
|
+
Tabulous.setup do
|
10
|
+
|
11
|
+
tabs do
|
12
|
+
home_tab do
|
13
|
+
text 'Explanation'
|
14
|
+
link_path { root_path }
|
15
|
+
visible_when { true }
|
16
|
+
enabled_when { true }
|
17
|
+
active_when { in_action('any').of_controller('home') }
|
18
|
+
end
|
19
|
+
|
20
|
+
galaxies_tab do
|
21
|
+
text 'Galaxies'
|
22
|
+
link_path { galaxies_path }
|
23
|
+
visible_when { true }
|
24
|
+
enabled_when { true }
|
25
|
+
active_when { in_action('any').of_controller('galaxies') }
|
26
|
+
end
|
27
|
+
|
28
|
+
stars_tab do
|
29
|
+
text 'Stars'
|
30
|
+
link_path { stars_path }
|
31
|
+
visible_when { true }
|
32
|
+
enabled_when { true }
|
33
|
+
active_when { in_action('any').of_controller('stars') }
|
34
|
+
end
|
35
|
+
|
36
|
+
planets_tab do
|
37
|
+
text 'Planets'
|
38
|
+
link_path { planets_path }
|
39
|
+
visible_when { true }
|
40
|
+
enabled_when { true }
|
41
|
+
active_when { in_action('any').of_controller('planets') }
|
42
|
+
end
|
43
|
+
|
44
|
+
subtabs_tab do
|
45
|
+
text 'Subtabs'
|
46
|
+
link_path '/subtabs/one'
|
47
|
+
visible_when { true }
|
48
|
+
enabled_when { true }
|
49
|
+
active_when { a_subtab_is_active }
|
50
|
+
end
|
51
|
+
|
52
|
+
one_subtab do
|
53
|
+
text 'One'
|
54
|
+
link_path '/subtabs/one'
|
55
|
+
visible_when { true }
|
56
|
+
enabled_when { true }
|
57
|
+
active_when { in_action('one').of_controller('subtabs') }
|
58
|
+
end
|
59
|
+
|
60
|
+
two_subtab do
|
61
|
+
text 'Two'
|
62
|
+
link_path '/subtabs/two'
|
63
|
+
visible_when { true }
|
64
|
+
enabled_when { true }
|
65
|
+
active_when { in_action('two').of_controller('subtabs') }
|
66
|
+
end
|
67
|
+
|
68
|
+
three_subtab do
|
69
|
+
text 'Three'
|
70
|
+
link_path '/subtabs/three'
|
71
|
+
visible_when { true }
|
72
|
+
enabled_when { true }
|
73
|
+
active_when { in_action('three').of_controller('subtabs') }
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
customize do
|
78
|
+
when_action_has_no_tab :#{behavior}
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
}
|
83
|
+
end
|
84
|
+
|
85
|
+
context 'when set to :raise_error' do
|
86
|
+
before(:each) { init(:raise_error) }
|
87
|
+
context 'visiting a route that has no controller action listed in tabulous' do
|
88
|
+
it 'should raise an error' do
|
89
|
+
expect{ visit '/notabs' }.to raise_error(ActionView::Template::Error)
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
context 'when set to :render' do
|
95
|
+
before(:each) { init(:render) }
|
96
|
+
context 'visiting a route that has no controller action listed in tabulous' do
|
97
|
+
before(:each) { visit '/notabs' }
|
98
|
+
it 'should add the tab navigation markup to the page' do
|
99
|
+
page.should have_css('.tabs')
|
100
|
+
visible_tabs.should match_array( %w( Explanation Galaxies Stars Planets Subtabs ) )
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
context 'when set to :do_not_render' do
|
106
|
+
before(:each) { init(:do_not_render) }
|
107
|
+
context 'visiting a route that has no controller action listed in tabulous' do
|
108
|
+
before(:each) { visit '/notabs' }
|
109
|
+
it 'should not add the tab navigation markup to the page' do
|
110
|
+
page.should_not have_css('.tabs')
|
111
|
+
visible_tabs.should be_empty
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|