aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6012 from avakhov/dbconsole-testPiotr Sarnacki2012-05-031-0/+128
|\ | | | | Cover Rails::DBConsole with tests
| * Add Rails::DBConsole testsAlexey Vakhov2012-05-021-0/+128
| |
* | Merge pull request #6119 from romanvbabenko/refactor/checking_rubygems_presenceJeremy Kemper2012-05-021-17/+15
|\ \ | | | | | | Gem const presence checking has been removed
| * | Gem cont presence checking has been removedRoman V. Babenko2012-05-021-17/+15
| |/
* | Fix build for railties generators Arun Agrawal2012-05-022-3/+3
| |
* | build fix for SharedGeneratorTestsArun Agrawal2012-05-021-2/+2
|/
* Build fix for plugin new generator changeCarlos Antonio da Silva2012-05-011-2/+2
| | | | Related to a06a84bf77082a7435973fa1b6c8254fb410f243
* Fix testsPiotr Sarnacki2012-05-011-1/+1
|
* Removing unused local vars in Queue testsRodrigo Pavano2012-05-011-2/+0
|
* Remove empty lines.Jason Noble2012-04-301-4/+0
|
* Fixed styling issues brought up by @jeremyJason Noble2012-04-301-2/+1
|
* Add ability to specify custom annotation directoriesJason Noble & Ralph Shnelvar2012-04-301-0/+42
| | | | | | | | | SOURCE_ANNOTATION_DIRECTORIES='dir1,dir2' bundle exec rake notes Searches app, config, lib, script, test (default) Also searches dir1, dir2 References: #4536, #4540
* Add test coverage for rake notesJason Noble & Ralph Shnelvar2012-04-301-1/+36
| | | | | Add separate tests to verify directories covered Add tests to verify file_types
* Merge pull request #5530 from ↵José Valim2012-04-301-0/+7
|\ | | | | | | | | malclocke/add_option_to_skip_index.html_on_rails_generate Added a generator option to skip the public/index.html file
| * Added a generator option to remove the public/index.html file when ↵Ivan Vanderbyl2012-03-211-0/+7
| | | | | | | | | | | | | | generating a new Rails application The option is: -i, [--skip-index-html] # Skip public/index.html file
* | Failing test for #6034Piotr Sarnacki2012-04-301-0/+20
| |
* | railties variable is not required here.Arun Agrawal2012-04-301-1/+0
| |
* | Merge pull request #6036 from carlosantoniodasilva/routes-reloader-refactorSantiago Pastorino2012-04-292-4/+0
|\ \ | | | | | | Remove some warnings and minor refactor in RoutesReloader
| * | Remove Declarative module extending, it is already part of AS::TestCaseCarlos Antonio da Silva2012-04-281-2/+0
| | | | | | | | | | | | Removes method redefined warning.
| * | Define only writer method for queue, as reader is declaredCarlos Antonio da Silva2012-04-281-2/+0
| | | | | | | | | | | | Remove deprecation warning of method redefined.
* | | Don't create new directory for testsPiotr Sarnacki2012-04-282-26/+24
| | |
* | | Fix Engine#routes to not call draw_paths multiple timesPiotr Sarnacki2012-04-281-0/+10
| | |
* | | Add a failing test for #5764Piotr Sarnacki2012-04-281-0/+16
|/ /
* | Use Rails::Queueing::Queue instead of Queue so people can build their own ↵José Valim2012-04-282-3/+3
| | | | | | | | consumers around stdlib's Queue
* | Add parentheses to hide Ruby warningPrem Sichanugrist2012-04-271-1/+1
| |
* | Fix failing test, TestQueue#contents is not #jobsCarlos Antonio da Silva2012-04-271-1/+1
| |
* | Merge pull request #6021 from sikachu/log_exceptionJosé Valim2012-04-271-0/+16
|\ \ | | | | | | Log the exception from the ThreadConsumer
| * | Log the exception from the ThreadConsumerPrem Sichanugrist2012-04-271-0/+16
| | | | | | | | | | | | This will make sure you know when there's an exception occur.
* | | ensure that draining the queue will raise exceptionsAaron Patterson2012-04-271-0/+5
| | |
* | | adding the `jobs` method to the test queue for getting a list of testAaron Patterson2012-04-271-0/+6
|/ / | | | | | | jobs.
* | oops!Aaron Patterson2012-04-271-1/+0
| |
* | Extend stdlib queue for the test queueAaron Patterson2012-04-271-10/+10
| |
* | do not depend on timeAaron Patterson2012-04-271-4/+4
| |
* | clean up empty linesVsevolod Romashov2012-04-281-3/+3
| |
* | fixes run order in Rails::Queueing::TestQueueVsevolod Romashov2012-04-281-0/+13
| |
* | add a factory method for queue construction so that apps can have multiple ↵Aaron Patterson2012-04-271-0/+8
| | | | | | | | queues
* | Revert "Merge pull request #5995 from kennyj/fix_5847-3"José Valim2012-04-271-22/+0
| | | | | | | | | | | | | | | | Active Record should be lazy loaded and this pull request forced Active Record to always be loaded after initialization. This reverts commit 8cd14c0bc9f9429f03d1181912355d2f48b98157, reversing changes made to 2f0c8c52e66f1a2a3d1c00efc207f227124e96c2.
* | Missing git add :trollface:Yehuda Katz2012-04-263-0/+223
| |
* | Initial queue implementationYehuda Katz2012-04-261-1/+1
| |
* | Namedspaced generator indent method test refactoringAlexey Vakhov2012-04-261-3/+4
| |
* | Fix #5847 and #4045. Load AR::Base before loading an application model.kennyj2012-04-261-0/+22
| |
* | Routes reloader knows how to reload external filesYehuda Katz2012-04-251-0/+61
| |
* | Fix missing Rails.env in route inspect testsYehuda Katz2012-04-251-0/+1
| |
* | Allow loading external route files from the routerJose and Yehuda2012-04-253-0/+28
| | | | | | | | | | | | | | | | | | This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications.
* | Merge pull request #5902 from avakhov/generator-no-indent-blank-linesJosé Valim2012-04-251-0/+8
|\ \ | | | | | | Don't indent blank lines in named base generators
| * | Don't indent blank lines in named base generatorsAlexey Vakhov2012-04-251-0/+8
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-251-1/+1
|\ \ \ | |/ / |/| |
| * | Remove lonely number signAlexey Vakhov2012-04-251-1/+1
| | |
* | | Clean up some straggling build failuresJose and Yehuda2012-04-241-7/+7
| | |
* | | Remove default match without specified methodJose and Yehuda2012-04-2414-68/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964