aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-293-23/+10
| | | | javascript_engine ("js") for apps that remove Coffee gem
* Merge pull request #1899 from ihower/patch_rake_testJosé Valim2011-06-291-0/+26
|\ | | | | Make "rake test" display not only task name but also exception message.
| * Add test to rake test for error messagesWen-Tien Chang2011-06-301-0/+26
| |
* | [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-4/+10
|/ | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* fix test when running Jruby. If Jruby Platform is available the gem will change.Arun Agrawal2011-06-291-2/+10
|
* Merge pull request #1481 from arunagw/lib_assetsDavid Heinemeier Hansson2011-06-271-1/+2
|\ | | | | Generating /lib/assets for assets
| * Using lib/assets only. Javascripts/Stylesheets people can fill later.Arun Agrawal2011-06-161-1/+2
| |
* | Tests added when no option is given with #jruby. It should generateArun Agrawal2011-06-221-0/+8
| | | | | | | | sqlite3 based app
* | Making tests according to the changes #jrubyArun Agrawal2011-06-221-3/+4
| |
* | Test added for jdbc-adapterArun Agrawal2011-06-221-0/+6
| |
* | Railties: added tests for rake assets:cleanJames A. Rosen2011-06-211-0/+14
| |
* | Create an :assets group in the Gemfile.José Valim2011-06-212-1/+17
| | | | | | | | | | | | | | | | | | This group is required by default only on development and test (you can change it on config/application.rb). `rake assets:precompile` will automatically add the assets group to Rails.groups (and consequently Bundler.require) and should work transparently.
* | Add Rails.groups to encapsulate available groups for require.José Valim2011-06-211-0/+15
| |
* | Removed tests for rescue branch for Rails 2.x compatibilityAlexey Gaziev2011-06-202-9/+0
| |
* | Attributes on scaffold and model generators default to string.José Valim2011-06-173-16/+21
| | | | | | | | This allows the following: "rails g scaffold Post title body:text author"
* | Merge pull request #1676 from neerajdotname/make_test_name_meaningfulSantiago Pastorino2011-06-131-1/+1
|\ \ | | | | | | Remove "is_assed" with something more meaningful
| * | Remove "is_assed" with something more meaningfulNeeraj Singh2011-06-131-1/+1
| | |
* | | namespace engine assetsRyan Bates2011-06-121-12/+16
|/ /
* | Make i18n tests more robust.José Valim2011-06-121-3/+3
| |
* | make 'rails runner' show usage when run without any optionsVijay Dev2011-06-101-0/+4
| |
* | Updated test to ensure correct sequence when copying engine/plugin migrations.Brian Quinn2011-06-101-4/+11
| |
* | Merge pull request #1356 from flippingbits/fix_engine_generatorJosé Valim2011-06-098-27/+140
|\ \ | | | | | | Fix engine's generator
| * | Prepend bundle exec to get the correct Rake versionStefan Sprenger2011-06-071-3/+3
| | |
| * | Use RAILS_ISOLATED_ENGINE and fix namespaced generators testsStefan Sprenger2011-06-074-12/+3
| | |
| * | Use mattr_accessor :namespaceStefan Sprenger2011-06-071-3/+0
| | |
| * | Don't create full Rails application if RAILS_ISOLATION_COMMAND equals engineStefan Sprenger2011-06-071-1/+1
| | |
| * | Use namespace if it's a mountable engineStefan Sprenger2011-06-071-9/+44
| | |
| * | Added regression testsStefan Sprenger2011-06-071-12/+5
| | |
| * | Move test/engine/generators_test.rb to test/railties/generators_test.rbStefan Sprenger2011-06-071-1/+1
| | |
| * | Add test for helper generatorStefan Sprenger2011-06-071-3/+10
| | |
| * | Clean up engine's generator test and use bundle exec for invoking generatorsStefan Sprenger2011-06-071-13/+30
| | |
| * | Clean up engine generators_test code and add test for models correctly ↵Ryan Bigg2011-06-071-7/+19
| | | | | | | | | | | | namespaced
| * | Add beginnings of test for generators within the context of an engineRyan Bigg2011-06-071-0/+54
| | |
| * | Generate script/rails only if --full is givenStefan Sprenger2011-05-272-5/+5
| | |
| * | Fix appending 'Stefan Sprenger2011-05-271-1/+1
| | |
| * | We're using module not class for namespacingStefan Sprenger2011-05-271-8/+8
| | |
| * | Fix and test ENGINE_PATH and ENGINE_ROOTStefan Sprenger2011-05-271-0/+8
| | |
| * | We're now using generators directlyStefan Sprenger2011-05-261-1/+0
| | |
* | | Fix double definition of #teardown. Thanks @mike-burns :+1:Jon Leighton2011-06-061-3/+0
| | |
* | | Fix another CIfail :zap: :fire: Deleting RAILS_ENV from ENV doesn't produce ↵Jon Leighton2011-06-061-1/+2
| | | | | | | | | | | | the desired result if RACK_ENV is still defined. And in any case it's better to be explicit here, so just set RALS_ENV=development.
* | | Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-0631-22/+117
| | |
* | | Fix for CI server. Dependent on RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
| | |
* | | loading_test.rb with RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
| | |
* | | framework_test.rb also dependent on RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
| | |
* | | load_path_test.rb is also dependent on RAILS_ENV=developmentJon Leighton2011-06-051-0/+6
| | |
* | | Force RAILS_ENV=development in rackup_test.rb. This fixes a problem on the ↵Jon Leighton2011-06-041-0/+6
| |/ |/| | | | | CI server. For some reason the RAILS_ENV on the CI server is production, which means that the ActionDispatch::Static middleware is not used, and so the request in 'config.ru can be racked up' returns a 404 rather than a 200.
* | properly require javascript libraries when generating mountable engineJ. Edward Dewyea2011-05-301-0/+22
|/
* Use global namespace RailsStefan Sprenger2011-05-261-1/+1
|
* Ensure RDoc::Task exists even if 'rdoc/task' was not requiredAkira Matsuda2011-05-262-11/+2
|
* Merge pull request #1301 from amatsuda/require_rdoc_task_failXavier Noria2011-05-252-2/+11
|\ | | | | require 'rake/rdoctask' if failed to require 'rdoc/task'