aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Correctly display rack apps with dynamic constraints in RoutesInspectorPiotr Sarnacki2011-12-261-0/+17
| | | | | | | | | | | | | If you used dynamic constraint like that: scope :constraint => MyConstraint.new do mount RackApp => "/foo" end routes were not displayed correctly when using `rake routes`. This commit fixes it. If you want nice display of dynamic constraints in `rake routes` output, please just override to_s method in your constraint's class.
* Test::Unit::Util::BacktraceFilter not available in ruby19 test/unitVishnu Atrai2011-12-261-17/+0
|
* remove checks for encodings availabilitySergey Nartimov2011-12-251-1/+1
|
* Use 1.9 hash syntax instead.José Valim2011-12-242-13/+13
|
* assert_not_match -> assert_no_match.José Valim2011-12-242-6/+6
|
* Tidy up migration types.José Valim2011-12-243-3/+8
|
* added ability to specify from cli when generating a model/migration whether ↵Dmitrii Samoilov2011-12-243-1/+131
| | | | particular property should be an index like this 'rails g model person name:string:index profile:string'
* remove Rails application fallback from AD::IntegrationTestSergey Nartimov2011-12-231-0/+5
| | | | set AD::IntegrationTest.app in railtie initializer
* Depend on 4.0.0.beta gems. Use https for github urls.Jeremy Kemper2011-12-221-1/+1
|
* just require things onceAaron Patterson2011-12-211-4/+2
|
* append puts the routes after the default, which causes a 404. instead use ↵Aaron Patterson2011-12-211-1/+1
| | | | prepend
* Move SubTestTask. Soften up tests.Jeremy Kemper2011-12-211-10/+7
|
* Merge pull request #4079 from drogus/http_digest_issueJosé Valim2011-12-212-1/+37
|\ | | | | Fix http digest authentication when url ends with `/` or `?`
| * Add ORIGINAL_FULLPATH to envPiotr Sarnacki2011-12-212-1/+37
| | | | | | | | | | | | | | | | | | | | | | This behaves similarly to REQUEST_URI, but we need to implement it on our own because REQUEST_URI is not reliable. Note that since PATH_INFO does not contain information about trailing question mark, this is not 100% accurate, for example `/foo?` will result in `/foo` in ORIGINAL_FULLPATH
* | Get rid of more 1.8.x dead codeJosé Valim2011-12-205-29/+6
| |
* | This test is rubbish.José Valim2011-12-201-39/+0
| |
* | Get rid of --old-style-hashJosé Valim2011-12-203-45/+4
|/
* Merge pull request #4043 from cqpx/masterJosé Valim2011-12-201-1/+2
|\ | | | | don't encode an UTF-8 encoded template
| * don't encode an UTF-8 encoded templateXu Pan2011-12-201-1/+2
| |
* | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the loggerAaron Patterson2011-12-191-1/+0
|/ | | | from Ruby stdlib.
* Merge pull request #4019 from kommen/rake_db_structureJosé Valim2011-12-181-0/+8
|\ | | | | Make structure.sql file configureable in db:structure:dump analog to SCHEMA in db:schema:dump
| * Rename STRUCTURE to DB_STRUCTURE, update dump task description and add ↵Dieter Komendera2011-12-181-0/+8
| | | | | | | | simple testcase.
* | Warning removed in testArun Agrawal2011-12-181-1/+1
| |
* | No need 'abstract_unit' here. It's already in 'generators_test_helper'Arun Agrawal2011-12-182-2/+0
| |
* | Merge pull request #4009 from kirs/generate-rake-taskPiotr Sarnacki2011-12-171-0/+12
|\ \ | |/ |/| Rake tasks generator
| * Rake tasks generator with testKir2011-12-171-0/+12
| |
* | Wait a full second so we have time for changes to propagateJosé Valim2011-12-161-0/+3
| |
* | Fix failing asset test.José Valim2011-12-161-1/+3
| |
* | Show detailed exceptions no longer returns true if the request is local in ↵José Valim2011-12-161-0/+1
| | | | | | | | production.
* | Improve the specs on exceptions app.José Valim2011-12-161-1/+1
| |
* | Allow a custom exceptions app to set.José Valim2011-12-161-0/+14
| |
* | Fix diagnostics page for routing errors.José Valim2011-12-151-2/+13
| |
* | Clean up the cache before the request in case we are running in the ↵José Valim2011-12-153-6/+52
| | | | | | | | reload_classes_only_on_change schema.
* | FileUpdateChecker should be able to handle deleted files.José Valim2011-12-131-0/+32
| |
* | Add config.file_watcher so developers can provide their own watchers (for ↵José Valim2011-12-131-3/+79
| | | | | | | | instance, hooking on fsevents).
* | Merge pull request #3954 from bdurand/null_store_2José Valim2011-12-121-2/+2
|\ \ | | | | | | Add ActiveSupport::Cache::NullStore for testing and development
| * | Add ActiveSupport::Cache::NullStore to expose caching interface without ↵Brian Durand2011-12-121-2/+2
| | | | | | | | | | | | actually caching for development and test environments.
* | | Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-122-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
* | | strip whitespace errors from the generated GemfileAaron Patterson2011-12-121-0/+10
|/ /
* | Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365Piotrek Okoński2011-12-121-0/+9
| |
* | Skip assets options in environments files when --skip-sprockets is usedGuillermo Iguaran2011-12-111-0/+7
| |
* | Ensure that files that compile to js/css are not compiled by default with ↵Piotr Sarnacki2011-12-111-2/+8
| | | | | | | | | | | | | | | | `rake assets:precompile` This case was not tested and documentation was a bit confusing on that topic, so it was not obvious if current code works properly or not.
* | Merge pull request #3925 from guilleiguaran/extra-test-for-therubyrhinoYehuda Katz2011-12-091-1/+5
|\ \ | | | | | | Add test to verify that therubyrhino isn't included when JRuby isn't used
| * | Add test to verify that therubyrhino isn't included when JRuby isn't usedGuillermo Iguaran2011-12-091-1/+5
| | |
* | | Skip assets groups if --skip-sprockets option is givenGuillermo Iguaran2011-12-091-0/+5
|/ /
* | Add the .rdoc extension to the README that Rails generates for a new applicationSteve Richert2011-12-091-3/+3
| |
* | Fix indentationPiotr Sarnacki2011-12-091-67/+67
| |
* | Allow to run migrations with given scope, with SCOPE=<scope>Piotr Sarnacki2011-12-091-0/+24
| | | | | | | | | | | | | | | | | | | | | | Scope in migrations can be defined by adding suffix in filename, like: 01_a_migration.blog.rb. Such migration have blog scope. Scope is automatically added while copying migrations from engine, so if you want to revert all of the migrations from given engine, you can just run db:migrate with SCOPE, like: rake db:migrate SCOPE=blog
* | Add suffix for migrations copied from enginesPiotr Sarnacki2011-12-091-6/+6
| |
* | Fix railties tests, identical migrations are not considered when copyingPiotr Sarnacki2011-12-091-0/+2
| |