aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
...
* | Partial fix of database url testsschneems2013-12-251-1/+4
| | | | | | | | | | | | | | | | Prior to #13463 when `DATABASE_URL` was set, Rails automagically used that value instead of the database.yml. There are tests in dbs_test that expect this to still be true. After that PR, `RAILS_DATABASE_URL` is expected to be read into the YAML file via ERB, this PR fixes that behavior. Note: this does not entirely fix the tests. It seems that `ActiveRecord::Tasks::DatabaseTasks.current_config` does not process the url string correctly (convert it into a hash), and ` ActiveRecord::Tasks::DatabaseTasks.structure_load(current_config, filename)` as well as other methods in `DatabaseTasks` expect a hash. It seems like we should involve the resolver somewhere in this process to correctly convert the database url, I do not know the best place for that /cc @josevalim
* | Fix tests names: tokens.yml => secrets.ymlGuillermo Iguaran2013-12-251-2/+2
| |
* | using symbol instead of string in establish_connectionKuldeep Aggarwal2013-12-251-1/+1
| |
* | Use Full path to sqlite database in testsschneems2013-12-222-4/+4
| |
* | Make possible to use symbol as the verifier nameRafael Mendonça França2013-12-191-6/+6
| |
* | Default I18n.enforce_available_locales to trueCarlos Antonio da Silva2013-12-171-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | We will default this option to true from now on to ensure users properly handle their list of available locales whenever necessary. This option was added as a security measure and thus Rails will follow it defaulting to secure option. Also improve the handling of I18n config options in its railtie, taking the new enforce_available_locales option into account, by setting it as the last one in the process. This ensures no other configuration will trigger a deprecation warning due to that setting.
* | Add mailer previews feature based on mail_view gemAndrew White2013-12-171-0/+388
| |
* | Regression test for load_structure and clone_structureArthur Neves2013-12-141-2/+4
| |
* | Rename tokens.yml to secrets.ymlGuillermo Iguaran2013-12-121-3/+3
| |
* | Add test for custom tokens stored in config/tokens.ymlGuillermo Iguaran2013-12-121-0/+13
| |
* | Replace config.secret_key_base with secrets.secret_key_base in testGuillermo Iguaran2013-12-121-1/+1
| |
* | Load secret_key_base from tokens.yml, fallback to config.secret_key_baseGuillermo Iguaran2013-12-121-3/+23
| |
* | Assert the singleton instead of to truthy/falsyRafael Mendonça França2013-12-051-4/+4
| | | | | | | | | | This will avoid false positives where caching? is nil and should be false
* | Add tests to cache_template_loading when an engine loaded Action ViewRafael Mendonça França2013-12-051-0/+14
| | | | | | | | | | | | | | | | before the application This test is a regression test to b068e20b35797aa6deaa377a48c990759734f515 that changed the load order of Action View initializers.
* | set `i18n.enforce_available_locales` before `i18n.default_locale`.Yves Senn2013-12-051-0/+11
| |
* | Make salt argument required for message verifierRafael Mendonça França2013-12-041-5/+5
| |
* | Test if two different verifiers don't share the same secretRafael Mendonça França2013-12-041-2/+12
| |
* | Don't need to use a controller to test the verifierRafael Mendonça França2013-12-041-9/+3
| |
* | No need to configure saltsRafael Mendonça França2013-12-041-21/+1
| |
* | Make possibile to get different message verifiersRafael Mendonça França2013-12-041-0/+10
| |
* | Rename verifier to message_verifierRafael Mendonça França2013-12-041-3/+3
| |
* | Add application verifierRafael Mendonça França2013-12-041-0/+41
| | | | | | | | | | | | | | | | It is an application global verifier that can be used to generate and verify signed messages. See the documentation of ActiveSupport::MessageVerifier for more information.
* | Merge pull request #12365 from jbaudanza/reorderGuillermo Iguaran2013-12-011-1/+1
|\ \ | | | | | | Move Rack::Cache after ActionDispatch::Static in the middleware stack
| * | Move Rack::Cache after AD::Static in the stackJonathan Baudanza2013-09-251-1/+1
| | |
* | | Build fix for new routing inspector changesArun Agrawal2013-11-221-2/+2
| | | | | | | | | | | | | | | | | | Broken by 6701b4cf41f6f3d9cfc6a93715acbf852d1e468e
* | | Merge pull request #12975 from sbagdat/fix-for-rake-routesYves Senn2013-11-211-2/+2
|\ \ \ | | | | | | | | Fix for routes task
| * | | Fix for routes taskSıtkı Bağdat2013-11-211-2/+2
| | | | | | | | | | | | | | | | This commit fixes formatting issue for `rake routes` task, when a section is shorter than a header.
* | | | replace U+00A0 with whitespaceDmitriy Budnik2013-11-211-1/+1
|/ / /
* | | added test cases to find notes in a file with .builder extensionKuldeep Aggarwal2013-11-171-1/+3
| | |
* | | Build fix for ruby 1.9.3 syntaxArun Agrawal2013-11-161-1/+1
| | |
* | | Instrument each load config initializerPaul Nikitochkin2013-11-161-0/+13
| | | | | | | | | | | | | | | | | | In order to simplify profiling loading of initializers, added instument for tracking load config initializer event from `config/initializers`
* | | 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.