Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typo in configuration test descritive > descriptive [ci skip] | amitkumarsuroliya | 2015-09-26 | 1 | -1/+1 |
| | |||||
* | make sure flash middleware is required | Aaron Patterson | 2015-09-25 | 1 | -0/+1 |
| | |||||
* | Removed Mocha from app generators tests | Ronak Jangir | 2015-09-23 | 1 | -87/+106 |
| | |||||
* | Remove unneeded generator variable. | Kasper Timm Hansen | 2015-09-22 | 1 | -1/+0 |
| | |||||
* | Removed mocha from Railites PluginGeneratorTest | Ronak Jangir | 2015-09-22 | 2 | -15/+35 |
| | |||||
* | fix application_controller require_dependency path generated by the scaffold ↵ | yuuji.yaginuma | 2015-09-20 | 1 | -0/+1 |
| | | | | | | | generator This is follow up to #6643. In #6643, the controller generator only had been fixed, in this commit to fix the scaffold generator. | ||||
* | mostly remove the ParamsParser middleware | Aaron Patterson | 2015-09-18 | 1 | -2/+0 |
| | | | | | This can still be added to the middleware stack, but is really not necessary. I'll follow up with a commit that deprecates the constant | ||||
* | File encoding is defaulted to utf-8 in Ruby >= 2.1 | Akira Matsuda | 2015-09-18 | 1 | -1/+0 |
| | |||||
* | Fix displaying mailer previews on non local requests. | Wojciech Wnętrzak | 2015-09-17 | 1 | -1/+1 |
| | | | | | When config `action_mailer.show_previews` is set, previews are displayed regardless of local request check. | ||||
* | raise LoadError when a non-existent file or directory is specified to the ↵ | yuuji.yaginuma | 2015-09-07 | 1 | -0/+5 |
| | | | | | | | | test runner Currently, if a file or directory that does not exist was specified in the test runner, that argument is ignored. This commit has been modified to cause an error if there is no file or directory. | ||||
* | Removed duplicate requiring minitest/mock as it is already required in ↵ | Ronak Jangir | 2015-08-26 | 1 | -1/+0 |
| | | | | method_call_assertions | ||||
* | remove unused require ‘set’ | NehaGautam | 2015-08-25 | 1 | -1/+0 |
| | |||||
* | override `controller_class` on the request | Aaron Patterson | 2015-08-24 | 1 | -9/+9 |
| | | | | | Just like the other places. We need to refactor this because the code is almost identical to that in the action pack tests | ||||
* | Merge pull request #21267 from davidcornu/rails-server-port-env-var | Rafael Mendonça França | 2015-08-24 | 1 | -0/+7 |
|\ | | | | | Use the PORT environment variable for rails server | ||||
| * | Use the PORT environment variable for rails server | David Cornu | 2015-08-18 | 1 | -0/+7 |
| | | |||||
* | | Merge pull request #21279 from ronakjangir47/test_cleanup | Kasper Timm Hansen | 2015-08-20 | 3 | -43/+20 |
|\ \ | | | | | | | Cleaned up generators tests using internal assertion helper | ||||
| * | | Cleaned up generators tests using internal assertion helper | Ronak Jangir | 2015-08-20 | 3 | -43/+20 |
| |/ | |||||
* / | Migrate to Sprockets 4. | Andrei Istratii | 2015-08-19 | 2 | -14/+19 |
|/ | |||||
* | Updated tests for the generated version number change | Daniel Morris | 2015-08-16 | 1 | -3/+3 |
| | |||||
* | Merge pull request #21124 from kirs/feature/reload-i18n | Kasper Timm Hansen | 2015-08-10 | 2 | -0/+86 |
|\ | | | | | Reload I18n.load_path in development | ||||
| * | Reload I18n locales in development | Kir Shatrov | 2015-08-10 | 2 | -0/+86 |
| | | |||||
| * | Revert "test runner should crash with non existing file argument." | Yves Senn | 2015-08-03 | 1 | -5/+0 |
| | | | | | | | | | | | | | | | | | | | | | | This reverts commit 465f0fbca3d4a1c269038b84ec9cc248fdab5fab. This breaks some cases where non file / directory arguments are passed to the runner (for example db:migrate). I still think that we can get this to work. From what I can tell there is no reason why db:migrate is passed along to `Minitest.run`. I'll revert and investigate possible solutions. | ||||
| * | test runner should crash with non existing file argument. | Yves Senn | 2015-08-03 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | Before this patch, using `bin/rails test` with a non existing file or directory argument would silently swallow the argument and run the whole test suite. After the patch the command fails with `cannot load such file --`. | ||||
* | | make generated scaffold functional tests work inside API engines | yuuji.yaginuma | 2015-08-09 | 1 | -0/+28 |
| | | | | | | | | | | * set engine's route in setup * use fixture with engine namespace | ||||
* | | Merge pull request #21043 from ↵ | Rafael Mendonça França | 2015-08-06 | 1 | -0/+1 |
|\ \ | | | | | | | | | | | | | y-yagi/loading_fixtures_in_engine_integration_tests set the correct path to `ActionDispatch::IntegrationTest.fixture_path` | ||||
| * | | set the correct path to `ActionDispatch::IntegrationTest.fixture_path` | yuuji.yaginuma | 2015-07-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | `ActionDispatch::IntegrationTest.fixture_path` set by `test_help.rb`, but if the engine, path under the dummy is will be set, fixtures under test was not loaded. | ||||
* | | | Add rake dev:cache task to enable dev mode caching. | Chuck Callebs | 2015-08-04 | 2 | -0/+51 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Taken from @Sonopa's commits on PR #19091. Add support for dev caching via "rails s" flags. Implement suggestions from @kaspth. Remove temporary cache file if server does not have flags. Break at 80 characters in railties/CHANGELOG.md Remove ability to disable cache based on server options. Add more comprehensive options: --dev-caching / --no-dev-caching | ||||
* | | Fix rake/notes_test | schneems | 2015-07-29 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Presumably due to https://github.com/rails/sprockets-rails/pull/265 sprockets was trying to load the "scss" gem but it isn't in the gemfile: ``` ApplicationTests::RakeTests::RakeNotesTest#test_register_a_new_extension: LoadError: cannot load such file -- sass ``` If we use an empty precompile list, it won't try to load sass. | ||||
* | | Fix reported regression rails/sprockets-rails#265 | schneems | 2015-07-29 | 1 | -0/+1 |
| | | | | | | | | We can prevent the UglifierCompressor from being instantiated prematurely by setting precompile to an empty array in this test. | ||||
* | | Enable the `api_only` option for API plugins' generators | Robin Dupret | 2015-07-23 | 1 | -0/+26 |
| | | | | | | | | | | | | | | This way, running a generator inside the plugin's directory, files that are not relevant won't be generated (e.g. views or assets). This won't interfere with the application's generators configuration. | ||||
* | | Generate an API dummy application for API plugins | Robin Dupret | 2015-07-23 | 1 | -0/+8 |
| | | |||||
* | | Make ApplicationController inherit from AC::API for API plugins | Robin Dupret | 2015-07-23 | 1 | -0/+8 |
| | | |||||
* | | Skip assets, helpers and views generation for API plugins | Robin Dupret | 2015-07-23 | 1 | -0/+12 |
|/ | |||||
* | Merge pull request #20819 from y-yagi/rails_api_gemfile | Rafael Mendonça França | 2015-07-21 | 1 | -0/+1 |
|\ | | | | | remove `web-console` from API app generated Gemfile | ||||
| * | remove `web-console` from API app generated Gemfile | yuuji.yaginuma | 2015-07-09 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #20384 from kaspth/per-request-cache | David Heinemeier Hansson | 2015-07-20 | 1 | -0/+63 |
|\ \ | | | | | | | Use digest cache in development. | ||||
| * | | Make digest cache work in development. | Kasper Timm Hansen | 2015-07-18 | 1 | -0/+63 |
| | | | | | | | | | | | | | | | | | | Avoid computing the same fragment digest many times when looping over templates. The cache is cleared on every request so template changes are still picked up. | ||||
* | | | make test runner work correctly inside engine | yuuji.yaginuma | 2015-07-12 | 2 | -4/+4 |
|/ / | |||||
* | | Rely on the load interlock for non-caching reloads, too | Matthew Draper | 2015-07-09 | 1 | -7/+7 |
| | | |||||
* | | Soften the lock requirements when eager_load is disabled | Matthew Draper | 2015-07-09 | 1 | -4/+21 |
|/ | | | | | We don't need to fully disable concurrent requests: just ensure that loads are performed in isolation. | ||||
* | Display a more human readable list of reserved names | Robin Dupret | 2015-07-01 | 2 | -2/+2 |
| | | | | | Interpolating an array inside a String will call #inspect on it. Let's call #join to display a more human-readable error message. | ||||
* | `dump_schema_after_migration` applies migration tasks other than db:migrate | Yves Senn | 2015-06-30 | 1 | -6/+8 |
| | | | | | | | | | | | | | Closes #20743. The task `db:_dump` now only dumps the schema if `ActiveRecord::Base.dump_schema_after_migration` is true. This has effects: - `db:migrate:up` - `db:migrate:down` - `db:forward` - `db:rollback` | ||||
* | tests, railties tests should use `bin/` executables when possible. | Yves Senn | 2015-06-30 | 9 | -121/+121 |
| | | | | | We recommend using the `bin/` executables in our docs and guides. Let's make sure that our tests execute the same code path. | ||||
* | fix NoMethodError that occurs when generating scaffold inside full mode engine | yuuji.yaginuma | 2015-06-28 | 2 | -0/+25 |
| | |||||
* | cherry-pick test and source doc from #20050 | Hirofumi Wakasugi | 2015-06-25 | 1 | -0/+8 |
| | |||||
* | do not show "Failed tests" message when a failed test is not | yuuji.yaginuma | 2015-06-23 | 1 | -0/+1 |
| | |||||
* | remove unused variable in reporter test | yuuji.yaginuma | 2015-06-22 | 1 | -1/+0 |
| | |||||
* | Merge pull request #20605 from dcrec1/assert_file | Yves Senn | 2015-06-19 | 2 | -1/+9 |
|\ | | | | | | | assert_file understands paths with special characters | ||||
| * | assert_file understands paths with special characters | Diego Carrion | 2015-06-18 | 2 | -1/+9 |
| | | | | | | fixes #20042 | ||||
* | | fix railties tests | Mehmet Emin İNAÇ | 2015-06-18 | 1 | -2/+2 |
|/ |