aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix private attribute warningVipul A M2013-04-042-3/+6
| |
| * fix warnings in railties testVipul A M2013-04-041-3/+3
| |
| * Fix some railties test warningsVipul A M2013-04-031-1/+1
| |
* | do not blow away the test database on every runAaron Patterson2013-04-051-10/+0
| |
* | test no longer makes sense after requiring all test filesAaron Patterson2013-04-031-23/+1
| |
* | switch the testing tests to use rakeAaron Patterson2013-04-031-20/+23
| |
* | Revert "Update Rake tasks to call `rails test` instead"Aaron Patterson2013-04-031-13/+10
| | | | | | | | This reverts commit b51673fbd9563bd3ffa22e22255ca1cef80cfb6d.
* | apps that depend on active record should load fixturesAaron Patterson2013-04-031-7/+0
|/
* Remove comments about removing LegacyKeyGenerator in 4.1Trevor Turk2013-04-031-1/+0
|
* Rename DummyKeyGenerator -> LegacyKeyGeneratorTrevor Turk2013-04-021-2/+2
|
* Fix tests from rails.png removal.Jessica Lynn Suttles2013-04-021-1/+8
| | | | | I'm giving @jlsuttles credit on this commit because she gave me the idea and the actual converted image in 952289aabfb.
* Merge pull request #9978 from trevorturk/cookie-store-auto-upgradeSantiago Pastorino2013-04-012-9/+61
|\ | | | | Cookie-base session store auto-upgrade
| * Allow transparent upgrading of legacy signed cookies to encrypted cookies; ↵Trevor Turk2013-03-282-9/+61
| | | | | | | | Automatically configure cookie-based sessions to use the best cookie jar given the app's config
* | cleanup railties test; fix typosVipul A M2013-03-313-6/+5
| |
* | be lazy loading SDocXavier Noria2013-03-301-0/+5
|/
* Fix typoPrathamesh Sonpatki2013-03-281-1/+1
|
* s/and and run/and runs/David Chapman2013-03-261-1/+1
| | | | Fixing some typos/grammar.
* Fixed typo in railties/testPrathamesh Sonpatki2013-03-252-2/+2
|
* Controller name pluralizedPrathamesh Sonpatki2013-03-251-2/+2
|
* Fix jquery-as-default test to account for switch from gem to github source ↵Jeremy Kemper2013-03-251-1/+1
| | | | in #9904
* Put coffee-rails in top-level of generated GemfileGabe Kopley2013-03-241-1/+4
| | | | v3 of pull request based on additional feedback from @jeremy
* Fix some typosVipul A M2013-03-243-3/+3
|
* Fix test: ActiveSupport.version is returning now a Gem::Version instead of a ↵Guillermo Iguaran2013-03-241-1/+1
| | | | String
* Merge pull request #8501 from charliesome/version-to-sRafael Mendonça França2013-03-232-3/+3
|\ | | | | Add #to_s method to VERSION modules
| * remove references to *::VERSION, replace with *.versionCharlie Somerville2013-03-212-3/+3
| |
* | Don't kill the consoleJon Leighton2013-03-221-10/+2
| | | | | | | | | | Use the "quit" command instead. This seems to prevents some weirdness on OS X. See #9761.
* | Send SIGTERM, not SIGQUIT.Jon Leighton2013-03-221-1/+1
|/ | | | | | SIGTERM is the correct signal for a graceful exit. This will hopefully resolve #9761.
* Don't generate a scaffold.css if no-assetsKevin Glowacz2013-03-201-1/+1
|
* Revert "make new rails apps log to STDOUT"Steve Klabnik2013-03-151-21/+0
| | | | | | This reverts commit b7d9d6e2cd5082d269dafbc0316e2107febe1451. Per discussion with @jeremy and @rubys on Campfire.
* make new rails apps log to STDOUTTerence Lee2013-03-151-0/+21
|
* Add support for generate scaffold password:digestSam Ruby2013-03-131-0/+41
| | | | | | | | | | * adds password_digest attribute to the migration * adds has_secure_password to the model * adds password and password_confirmation password_fields to _form.html * omits password entirely from index.html and show.html * adds password and password_confirmation to the controller * adds unencrypted password and password_confirmation to the controller test * adds encrypted password_digest to the fixture
* Replace assert_(no_)match args from regexps to strings to remove warningsCarlos Antonio da Silva2013-03-111-40/+40
| | | | | | Using regexps as arguments without parentheses end up raising: warning: ambiguous first argument; put parentheses or even spaces
* Make sure that the test case is run under test envPrem Sichanugrist2013-03-111-1/+17
| | | | | | * Unset $RAILS_ENV that got set by abstract_unit to trigger the default. * split out environment setting since Ruby 1.9.3 doesn't support inline ENV setting.
* Fix test failure introduced in 3ed41e57Prem Sichanugrist2013-03-111-5/+3
| | | | I forgot to run the test suit after changing the task name. :bomb:
* Merge pull request #9080 from sikachu/master-rails-testRafael Mendonça França2013-03-112-10/+311
|\ | | | | Add `rails test` command to run the test suite
| * Make sure that `rails test` load test in test envPrem Sichanugrist2013-03-091-1/+44
| |
| * Update Rake tasks to call `rails test` insteadPrem Sichanugrist2013-03-091-10/+13
| | | | | | | | | | Also, print out deprecation warning for other rake tasks except `rake test` and `rake` (default)
| * Improve wording for rails test commandDalibor Nasevic2013-03-091-8/+8
| |
| * Load fixtures only when running suites, or `-f`Prem Sichanugrist2013-03-091-0/+51
| | | | | | | | | | | | * `rails test -f` will run the test suites with all fixtures loaded * New application will now generated without `fixtures :all` line enabled by default.
| * Add support for MiniTest flags in TestRunnerPrem Sichanugrist2013-03-091-0/+21
| | | | | | | | | | Any flags that got set will be passed through to MiniTest::Unit.runner, such as `-n`, `-s-, and `-v`.
| * Add `rails test` command to run the test suitePrem Sichanugrist and Chris Toomey2013-03-091-0/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To run the whole test suite: $ rails test To run the test file(s): $ rails test test/unit/foo_test.rb [test/unit/bar_test.rb ...] To run the test suite $ rails test [models,helpers,units,controllers,mailers,...] For more information, see `rails test --help`. This command will eventually replacing `rake test:*`, and `rake test` command will actually invoking `rails test` instead.
* | Cleanup tests for unused variablesVipul A M2013-03-111-1/+1
|/
* Fix race condition in testJon Leighton2013-03-091-2/+2
| | | | | | | | | | | This should fix travis. For real this time! This is the one! The readpartial(100) meant that an earlier assert_stdout could chomp up the output that a later assert_stdout wants, meaning that the later assertion fails. Reading only 1 byte at a time ensure that we don't read any more than is necessary to verify the assertion.
* Bump up timeoutsJon Leighton2013-03-091-3/+3
| | | | | | This should fix travis. Also ensuring that we don't try to kill when pid is nil.
* Fix failing test regarding console change to fix sandboxingCarlos Antonio da Silva2013-03-081-11/+10
| | | | Introduced in be3e10cd26bc8ec29c6474d03a08a8e733108e7d.
* The console --sandbox transaction should not be joinableJon Leighton2013-03-081-10/+8
| | | | Thanks @neerajdotname for noticing this bug.
* Fix rails console --sandboxJon Leighton2013-03-081-8/+74
| | | | | | I've also added a proper acceptance test which reproduced the issue. Closes #9513, #9515.
* Bring config.allow_concurrency backJosé Valim2013-03-031-0/+6
| | | | | Since the Rack::Lock still exists in development, let's provide a way to disable it explicitly.
* Remove hard coded references to Active Record in railtiesJosé Valim2013-03-021-13/+0
|
* Support creating a table migration generatorSammy Larbi2013-03-011-3/+14
| | | | | | | | | | | | | | | | Sometimes you want to create a table without an associated model and test, which is also not a join table. With this commit, you can now do that. Example: rails g migration create_posts title:string or rails g migration CreatePosts title:string This commit also moves the template the model generator uses for the migration to the migration templates folder, as it seems a more sensible place for it now that it is shared code.