aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ConstantLookup is not needed in every TestCase decendantAndy Lindeman2012-09-262-1/+1
|
* Also includes ConstantLookup dependency for controller and mailer testsAndy Lindeman2012-09-262-0/+2
|
* Adds missing dependency to ActionView::TestCase::BehaviorAndy Lindeman2012-09-261-0/+2
| | | | | | | | | * The module is needed for the `determine_constant_from_test_name` method. * Without it, the including class is required to also include `ActiveSupport::Testing::ConstantLookup` or a `NoMethodError` will be raised upon instantiation of that class. * Issue introduced in c0a24555f9e2749fb94efe1967cb9943db0b6a7e
* Tune up Rails::Rack::Logger. Only put space between requests in development ↵Jeremy Kemper2012-09-262-21/+30
| | | | logs.
* Tests tag the Rails log with the current test class and test caseJeremy Kemper2012-09-264-0/+54
|
* Allow wrapping a logger that hasn't set a formatter. Default to our ↵Jeremy Kemper2012-09-262-2/+12
| | | | SimpleFormatter. Otherwise we try extending nil with the tagging API.
* Merge pull request #7444 from szimek/params_parser_raises_parsing_errorAaron Patterson2012-09-263-7/+18
|\ | | | | Raise generic ParseError exception when ParamsParser fails parsing request params
| * Make ActionDispatch::ParamsParser::ParseError#original_exception return the ↵Szymon Nowak2012-08-273-6/+14
| | | | | | | | original exception.
| * Fix ActionDispatch::ParamsParser::ParseError message for XML and JSON parsers.Szymon Nowak2012-08-243-6/+6
| |
| * Raise generic ParseError exception when ActionDispatch::ParamsParser fails ↵Szymon Nowak2012-08-243-4/+7
| | | | | | | | parsing request params.
* | Add logger.push_tags and .pop_tags to complement logger.taggedJeremy Kemper2012-09-263-14/+59
| |
* | Log newlines separately to ensure the 'Started GET ...' line has a tag on ↵Jeremy Kemper2012-09-251-1/+2
| | | | | | | | the same line
* | fixing most tests on Ruby 2.0Aaron Patterson2012-09-252-3/+3
| |
* | Revert "Use plaform mri_19 for debugger gem"Aaron Patterson2012-09-251-6/+1
| | | | | | | | This reverts commit 2233f1456f6fb1b92e6c1bded70b89a3302c4306.
* | Merge pull request #7759 from blowmage/minitestAaron Patterson2012-09-252-4/+3
|\ \ | | | | | | Add missing inflector dependency
| * | Add missing inflector dependencyMike Moore2012-09-252-4/+3
| | |
* | | Fix destructive side effects from marshaling an association caused by ↵Jeremy Kemper2012-09-252-7/+7
| | | | | | | | | | | | 65843e1acc0c8d285ff79f8c9c49d4d1215440be
* | | Merge pull request #7757 from yahonda/skip_non_supported_isolation_levelRafael Mendonça França2012-09-251-2/+6
|\ \ \ | | | | | | | | Skip tests for non-supported isolation levels
| * | | Skip tests for non-supported isolation levelsYasuo Honda2012-09-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i.e. Oracle database does not support these isolation levels. `:read_uncommitted` `:repeatable_read` This commit also works with other databases which do not support these isolation levels.
* | | | Use plaform mri_19 for debugger gemSantiago Pastorino2012-09-251-1/+6
|/ / /
* | | Merge pull request #7756 from yahonda/isolation_level_oracleRafael Mendonça França2012-09-251-0/+2
|\ \ \ | | | | | | | | Skip tests for non-supported isolation levels with Oracle
| * | | Skip tests for non-supported isolation levels with OracleYasuo Honda2012-09-251-0/+2
| | | |
* | | | Merge pull request #7754 from NARKOZ/image_tag-sizeRafael Mendonça França2012-09-253-6/+12
|\ \ \ \ | | | | | | | | | | Feature: set the same width and height for image if size attribute is a number
| * | | | change ^ and $ anchors in regexp to \A and \z respectivelyNihad Abbasov2012-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | http://guides.rubyonrails.org/security.html#regular-expressions
| * | | | allow to pass numerical value to size option in image_tagNihad Abbasov2012-09-253-5/+11
|/ / / / | | | | | | | | | | | | | | | | This will set image's both width and height attributes to value passed in size option.
* | | | Merge pull request #7749 from blowmage/minitestAaron Patterson2012-09-2516-11/+726
|\ \ \ \ | |/ / / |/| / / | |/ / Improve support for minitest's spec DSL
| * | Register AD::IntegrationTest for minitest's spec DSLMike Moore2012-09-242-0/+44
| | |
| * | Support helper tests using spec DSLMike Moore2012-09-243-5/+60
| | | | | | | | | | | | | | | Improve how helper tests to resolve the helper class from the test name. Add tests for helper tests using the minitest spec DSL.
| * | Register helper and view tests for minitest's spec DSLMike Moore2012-09-242-0/+42
| | |
| * | Support mailer tests using spec DSLMike Moore2012-09-242-3/+149
| | | | | | | | | | | | | | | Improve how mailer tests to resolve mailers from the test name. Add tests for mailer tests using the minitest spec DSL.
| * | Register mailer tests for minitest's spec DSLMike Moore2012-09-242-0/+44
| | |
| * | Add register_spec_type test coverageMike Moore2012-09-241-0/+23
| | |
| * | Allow strings in the controller test describe blocksMike Moore2012-09-243-0/+130
| | | | | | | | | | | | | | | Allow controller tests using the spec DSL to match strings. Add test coverage for the register_spec_type calls.
| * | Support controller tests using spec DSL - fixes #7743Mike Moore2012-09-242-3/+121
| | | | | | | | | | | | Add tests for controller tests using the minitest spec DSL.
| * | Create ActiveSupport::Testing::ConstantLookupMike Moore2012-09-243-0/+113
| | | | | | | | | | | | | | | AS::TC::ConstantLookup walks the test's name to find the constant it is describing. This additional lookup logic is needed to better support minitest's spec DSL.
* | | Merge pull request #7738 from grosser/verified_requestRafael Mendonça França2012-09-254-8/+24
|\ \ \ | | | | | | | | remove unused Mime::Type#verify_request?
| * | | depreacte unused Mime::Type#verify_request? and ↵grosser2012-09-244-8/+24
| | | | | | | | | | | | | | | | Mime::Type.browser_generated_types
* | | | some copy-editing I did in passingXavier Noria2012-09-251-26/+28
| | | |
* | | | gives credit to Aaron in the CHANGELOG entry for AC::LiveXavier Noria2012-09-251-2/+4
| | | |
* | | | Merge pull request #7727 from frodsan/security_guide_spRafael Mendonça França2012-09-241-58/+79
|\ \ \ \ | | | | | | | | | | update Security guide with StrongParameters documentation
| * | | | update Security guide to reflect mass assignment protection with ↵Francesco Rodriguez2012-09-241-58/+79
| | | | | | | | | | | | | | | | | | | | StrongParameters [ci skip]
* | | | | Only apply log tags if the logger supports itJeremy Kemper2012-09-241-1/+1
| |_|/ / |/| | |
* | | | Merge pull request #6936 from jfoley/callbacksSantiago Pastorino2012-09-244-2/+78
|\ \ \ \ | | | | | | | | | | Fix collisions with before and after validation callbacks.
| * | | | Add CHANGELOG entry and update the guideJohn Foley2012-09-232-0/+23
| | | | |
| * | | | Switch to using include? on validation callbacksJohn Foley2012-09-231-2/+2
| | | | |
| * | | | Fix collisions with before and after validation callbacks.John Foley2012-09-232-2/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit allows a user to do something like: before_validation :do_stuff, :on => [ :create, :update ] after_validation :do_more, :on => [ :create, :update ]
* | | | | Merge pull request #7742 from GRoguelon/masterSantiago Pastorino2012-09-241-1/+0
|\ \ \ \ \ | | | | | | | | | | | | Deletion of an extra blank line in configuration template file
| * | | | | Remove of an extra line in template configuration file.Geoffrey Roguelon2012-09-241-1/+0
| | | | | |
* | | | | | make clear that expired db/schema_cache.dump are ignoredXavier Noria2012-09-241-1/+1
| | | | | |
* | | | | | adds the release notes for Rails 4.0 to the guides indexXavier Noria2012-09-241-0/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | This is still an early draft, but let's add it to the index to have it ready.