aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #12695 from mikepack/allow_pathnamesYves Senn2013-11-111-0/+14
|\ \ \ | | | | | | | | Allow Pathnames to be added to eager load paths
| * | | Allow Pathnames to be added to eager load pathsMike Pack2013-11-111-0/+14
| | | |
* | | | Make static error pages responsiveEtienne Lemay2013-11-111-1/+1
|/ / /
* | | BACKTRACE environment variable to show unfiltered backtraces.Yves Senn2013-11-041-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to support the `BACKTRACE` environment variable but when we switched to MiniTest it got removed: f9382cd7948 This commit adds back the functionality to show the unfiltered backtrace when needed. This also works when you run your tests with `rake`: * `BACKTRACE=1 bin/rake test` * `BACKTRACE=1 ruby -Itest ...`
* | | More Warnings removed for ruby trunkArun Agrawal2013-11-013-8/+8
| |/ |/| | | | | Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb
* | Expose MiddlewareStack#unshift to environment configuration.Ben Pickles2013-10-091-0/+6
| |
* | Merge branch 'fix-ip-spoof-errors' of https://github.com/tamird/rails into ↵Andrew White2013-09-301-0/+10
|\ \ | |/ |/| | | tamird-fix-ip-spoof-errors
| * make sure both headers are set before checking for ip spoofingTamir Duberstein2013-06-041-0/+10
| |
* | Merge pull request #12216 from suginoy/a-anRafael Mendonça França2013-09-132-3/+3
|\ \ | | | | | | Fix typos: the indefinite articles(a -> an).
| * | Fix typos: the indefinite articles(a -> an)SUGINO Yasuhiro2013-09-132-3/+3
| | |
* | | Remove BasicRendering testsJosé Valim2013-09-091-62/+0
|/ /
* | Merge pull request #11912 from jonkessler/respond-to-signature-fixesRafael Mendonça França2013-08-311-0/+7
|\ \ | | | | | | Update Rails::Railtie::Configuration and ActionDispatch::Response#respond_to? to accept include_private argument
| * | update Rails::Railtie::Configuration and ↵Jon Kessler2013-08-161-0/+7
| | | | | | | | | | | | ActionDispatch::Response#respond_to? to accept include_private argument
* | | Extend basic rendering, test it in railtiesŁukasz Strzałkowski2013-08-251-0/+62
| | |
* | | Missing AV requires in railties testsŁukasz Strzałkowski2013-08-251-0/+1
|/ /
* | fix build error caused by #11900.Yves Senn2013-08-151-1/+1
| |
* | Adding LESS to rake notesJosh Crowder2013-08-151-0/+2
| |
* | Rails.logger should have level specified by config.log_level. Max Shytikov2013-07-301-0/+8
| | | | | | Fix bug when log level of Rails.logger (which was set via config.logger) does not match the config.log_level.
* | Revert "Match Dev/Prod parity for Index Page"Piotr Sarnacki2013-07-221-1/+1
| | | | | | | | | | | | | | | | Showing welcome page in production can expose information, which should not be visible on production if people don't override the default root route. This reverts commit b0caea29c2da9f4c8bb958019813482da297067d.
* | Merge pull request #11514 from schneems/schneems/dev-prod-parity-indexPiotr Sarnacki2013-07-221-1/+1
|\ \ | | | | | | Match Dev/Prod parity for Index Page
| * | Match Dev/Prod parity for Index Pageschneems2013-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | With Rails 4 the default index page was moved from a static file `index.html` inside the `public/` folder to an internal controller/view inside of the railties gem. This was to allow use of erb in the default index page and to remove the requirement that new apps must delete a static file to make their index pages work. While this was a good change, the functionality was unexpected to developers who wish to get their apps running in production ASAP. They will create a new app `rails new my app`, start a server to verify it works, then immediately deploy the app to verify that it can start working in production. Unfortunately locally they see a page when they visit `localhost:3000` when they visit their production app they get an error page. We initially anticipated this problem in the original pull request, but did not properly anticipate the severity or quantity of people who would like this functionality. Having a default index page serves as an excellent litmus test for a passed deploy on default apps, and it is very unexpected to have a page work locally, but not on production. This change makes the default index page available in production if the developer has not over-written it by defining their own `root` path inside of routes.
* | | Clear named routes when routes.rb is reloadedAndrew White2013-07-211-0/+45
|/ / | | | | | | | | | | | | | | Fix an issue where Journey was failing to clear the named routes hash when the routes were reloaded and since it doesn't overwrite existing routes then if a route changed but wasn't renamed it kept the old definition. This was being masked by the optimised url helpers so it only became apparent when passing an options hash to the url helper.
* | Added CheckPending middleware in defaultArun Agrawal2013-07-151-0/+4
| | | | | | | | | | | | | | | | | | As this middleware comes by default in a new rails app Added test to check omit for CheckPending when Active Record is not included.
* | No need to add config for x_sendfile_headerArun Agrawal2013-07-151-2/+0
| | | | | | | | Rack::Sendfile is loaded by default now
* | Rack::Sendfile is now included in middleware by default, change tests to ↵Guillermo Iguaran2013-07-151-10/+4
| | | | | | | | reflect that
* | #11381: Ignore config.eager_load=true for rakePaul Nikitochkin2013-07-102-18/+20
| | | | | | | | Closes #11381
* | handle notes in *.sass filesYuri Artemev2013-07-081-1/+3
| |
* | build fix: railties tests used deprecated `SchemaCache` methods.Yves Senn2013-07-041-2/+2
| |
* | Use block instead passing as argumentRafael Mendonça França2013-07-021-1/+1
| |
* | Allowing multiple rails applications in the same ruby instance.wangjohn2013-06-301-0/+148
| | | | | | | | | | This change provides the ability to create a new application with a configuration which can be specified.
* | Removing deprecated rake tasks.wangjohn2013-06-241-39/+0
| | | | | | | | | | The `rake test:recent` and `rake test:uncommitted` tasks were deprecated and are now being removed.
* | #10428: Added tests for config.assets.precompilePaul Nikitochkin2013-06-211-0/+23
| | | | | | | | | | | | Tests for bug in sprocket-rails: do not use value of configuration options which changed after environment loaded
* | Merge pull request #10902 from wangjohn/removing_application_singleton_callsSantiago Pastorino2013-06-1710-21/+21
|\ \ | | | | | | Calls to the application constant have been refactored
| * | Calls to the application constant have been refactored to usewangjohn2013-06-1010-21/+21
| | | | | | | | | | | | | | | Rails.application when drawing routes and creating other configurations on the application.
* | | `initialize_on_precompile` is not used anymore.Terence Lee2013-06-131-12/+0
|/ /
* | Testing CheckPending middlewareArun Agrawal2013-06-081-0/+8
| |
* | clearing autoloaded constants triggers routes reloading [Fixes #10685]Xavier Noria2013-06-061-1/+34
| | | | | | | | | | Conflicts: railties/test/application/loading_test.rb
* | Fixing build for not checking migrationArun Agrawal2013-06-051-0/+1
|/
* Removing use of subclassed application constant and instead using thewangjohn2013-06-036-36/+36
| | | | | more agnostic Rails.application syntax. This means tests will be more portable, and won't rely on the existence of a particular subclass.
* Fixing a failing railtie test by using the ENV variable to specify awangjohn2013-05-311-1/+2
| | | | particular controller to search for in rake routes.
* Adding a test to make sure that using rake routes with the CONTROLLERwangjohn2013-05-291-0/+12
| | | | environment works correctly.
* Updates to make rails 4 happy with minitest 5:Ryan Davis2013-05-062-12/+12
| | | | | | | | | | + Namespace changes, overhaul of runners. + Internal ivar name changes - Removed a logger globally applied to tests that spew everywhere?!? + Override Minitest#__run to sort tests by name. + Reworked testing isolation to work with the new cleaner architecture. - Removed a bunch of tests that just test minitest straight up. I think these changes were all merged to minitest 4 a long time ago. - Minor report output differences.
* adding a test for root path in the appAaron Patterson2013-04-171-0/+24
|
* Added tests for `eager_load` config option to do not eager load for rake ↵Paul Nikitochkin2013-04-121-0/+17
| | | | tasks if `eager_load` is `true`
* initialize instead of assert to fix warningVipul A M2013-04-111-0/+1
|
* Add failing test case for #9654Andrew White2013-04-101-0/+45
|
* add integration test for shorthand rake testsAaron Patterson2013-04-051-0/+7
|
* extract test info from the command line and set up the test taskAaron Patterson2013-04-051-1/+22
|
* removing `rails test`, updating docs to show how to use `rake test`Aaron Patterson2013-04-051-6/+0
|
* Merge branch 'master' into railstestAaron Patterson2013-04-051-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (44 commits) Improve the changelog entry [ci skip] Fix explicit names on multiple file fields Correctly parse bigint defaults in PostgreSQL Move changelog to the top [ci skip] Fix indent and remove extra white spaces Fix scope chaining + STI failing test for #9869 Improve `belongs_to touch: true` timestamp test Sort modules in alphabetical order. Avoid an attempt to fetch old record when id was not present in touch callback Use the correct pk field from the reflected class to find the old record Refactor mail_to to not generate intermediate hashes when adding href Ensure mail_to helper does not modify the given html options hash Use inspect when writing the foreign key from the reflection Use a space after the comment sign when showing the result of commands Exclude template files for rdoc API [ci skip] template should have generic name use | to have more intent revealing code Revert "Merge pull request #10034 from benofsky/fix_skipping_object_callback_filters" stop depending on callbacks ... Conflicts: railties/test/application/rake_test.rb