aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Add comments with urls for email previewsAndrew White2013-12-221-6/+11
|
* Use Full path to sqlite database in testsschneems2013-12-222-4/+4
|
* Fix DB Console tests schneems2013-12-211-20/+22
| | | | | | | | | | | The build is broken: https://travis-ci.org/rails/rails/builds/15824530 This commit fixes it. The problem: Sqlite expects the `database` part to be an absolute path. That prompted this change to be committed to master: https://github.com/rails/rails/commit/fbb79b517f3127ba620fedd01849f9628b78d6ce This change provides correct behavior. Unfortunately tests were introduced in https://github.com/rails/rails/commit/971d5107cd4cd08c22a85d34546f4ba03ed5c925 that were relying on the incorrect behavior. We can avoid the fix by changing to another database url such as `mysql` or `postgresql` In addition to fixing the failure, the assertions are changed so that the "expected" value comes before "actual" value.
* `html` and `text` templates for mailers by defaultKassio Borges2013-12-201-1/+15
|
* Make possible to use symbol as the verifier nameRafael Mendonça França2013-12-191-6/+6
|
* Change all `MiniTest` to `Minitest` since, `MiniTest` namespace has been ↵Vipul A M2013-12-181-2/+2
| | | | | | renamed to `Minitest` Ref: https://github.com/seattlerb/minitest/blob/master/History.txt
* 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-172-3/+421
|
* Fix method redefinition warningAndrew White2013-12-171-2/+6
|
* Merge pull request #13328 from teohm/dbconsole_support_database_urlYves Senn2013-12-161-27/+67
|\ | | | | Fixed rails dbconsole to support DATABASE_URL
| * fixed rails dbconsole to support ENV['DATABASE_URL'].Huiming Teo2013-12-161-27/+67
| |
* | 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-123-6/+25
|
* Skipping debugger from plugin Gemfile for JRubyArun Agrawal2013-12-061-0/+11
|
* Merge branch 'av-loading-order'Rafael Mendonça França2013-12-051-4/+18
|\
| * 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.
* | Make sure that spring is loaded in development onlyArun Agrawal2013-12-051-1/+1
|/
* Merge pull request #13189 from strzalek/retain-ap-av-depJeremy Kemper2013-12-051-2/+0
|\ | | | | Retain ActionPack dependency on ActionView. Fixes #12979.
| * Remove missing integration points of AV extractionCarlos Antonio da Silva2013-12-051-2/+0
| |
* | 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.
* | Install Spring preloader when generating new applicationsJon Leighton2013-12-032-6/+38
|/
* Merge pull request #13117 from akshay-vishnoi/typoXavier Noria2013-12-021-2/+2
|\ | | | | Typo and grammatical fixes [ci skip]
| * Typo and grammatical fixes [ci skip]Akshay Vishnoi2013-12-021-2/+2
| |
* | 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
| | |
* | | config.assets.enabled isn't used anymore to disable Rails asset pipelineGuillermo Iguaran2013-12-011-1/+0
| | |
* | | Merge pull request #13111 from akshay-vishnoi/typoCarlos Antonio da Silva2013-11-301-1/+1
|\ \ \ | | |/ | |/| Typo fixes [ci skip]
| * | Typo fixes [ci skip]Akshay Vishnoi2013-11-301-1/+1
| | |
* | | Fixes failing test for JRubyArun Agrawal2013-11-291-0/+3
| | | | | | | | | | | | | | | in JRuby FileUtils do not change current dir when moving files
* | | Checking no debugger on JRubyArun Agrawal2013-11-291-1/+7
|/ / | | | | | | fixes tests for JRuby
* | Test for when controller with skip-assetsArun Agrawal2013-11-231-0/+6
| |
* | Added test when task generator called on revokeArun Agrawal2013-11-231-1/+13
| |
* | Merge pull request #13011 from arunagw/jruby-fixesYves Senn2013-11-231-2/+10
|\ \ | | | | | | Using activerecord-jdbcsqlite3-adapter
| * | Using activerecord-jdbcsqlite3-adapterArun Agrawal2013-11-231-2/+10
| | | | | | | | | | | | | | | PluginGeneratorTest needs to have activerecord-jdbcsqlite3-adapter to pass under JRuby
* | | Cleaned up app generator testArun Agrawal2013-11-231-21/+6
|/ /
* | Use a more generic assertion to make sure this tests will be useful.Rafael Mendonça França2013-11-221-3/+2
| | | | | | | | | | | | Since we are using assert_no_match, if we change the code before changing the tests, the tests will still pass and the assertion will become useless
* | Fix the assertion for not inclusion of turbolinks on application.js.Lauro Caetano2013-11-221-1/+1
| | | | | | | | | | We were asserting if `//= turbolinks` was not present while the correct is asserting that `//= require turbolinks` is not present.
* | Build fix for new routing inspector changesArun Agrawal2013-11-221-2/+2
| | | | | | | | | | | | Broken by 6701b4cf41f6f3d9cfc6a93715acbf852d1e468e
* | Remove turbolinks when generating a new application based on a templateLauro Caetano2013-11-211-3/+10
| | | | | | | | | | | | that skips it. It can be skipped adding `add_gem_entry_filter { |gem| gem.name != "turbolinks" }` to the template.