Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support `Mailer.deliver_foo(*args)` as a synonym for ↵ | Jon Leighton | 2012-09-28 | 3 | -0/+15 |
| | | | | | | | `Mailer.foo(*args).deliver`. This makes it easy to write e.g. `Mailer.expects(:deliver_foo)` when testing code that calls the mailer. | ||||
* | Merge pull request #7775 from frodsan/test_ap_metal | Rafael Mendonça França | 2012-09-27 | 2 | -37/+42 |
|\ | | | | | move metal/caching_test into controller/caching_test | ||||
| * | move metal/caching_test into controller/caching_test | Francesco Rodriguez | 2012-09-27 | 2 | -37/+42 |
|/ | |||||
* | Fix tests broken by adding a new instance variable to view test cases | Jeremy Kemper | 2012-09-27 | 1 | -0/+1 |
| | |||||
* | remove method redefinition warnings | Rafael Mendonça França | 2012-09-27 | 2 | -2/+2 |
| | | | | | actionpack/test/template/spec_type_test.rb:32: warning: method redefined; discarding old test_spec_type_wont_match_non_space_characters actionpack/test/controller/spec_type_test.rb:30: warning: previous definition of test_spec_type_wont_match_non_space_characters was here | ||||
* | Is not needed to wrap name inside an array here | Santiago Pastorino | 2012-09-27 | 1 | -1/+1 |
| | |||||
* | Change key not found to param not found | Santiago Pastorino | 2012-09-27 | 1 | -6/+6 |
| | |||||
* | Merge pull request #7768 from kennyj/removing_dead_code_20120928 | Rafael Mendonça França | 2012-09-27 | 2 | -25/+0 |
|\ | | | | | Removing dead code. attribute_cast_code isn't called. | ||||
| * | Removing dead code. attribute_cast_code is not called. | kennyj | 2012-09-28 | 2 | -25/+0 |
|/ | |||||
* | Merge pull request #7760 from ↵ | Santiago Pastorino | 2012-09-27 | 5 | -1/+5 |
|\ | | | | | | | | | alindeman/adds_missing_dependency_to_action_view_test_case Adds missing dependency to ActionView::TestCase::Behavior | ||||
| * | ConstantLookup is not needed in every TestCase decendant | Andy Lindeman | 2012-09-26 | 2 | -1/+1 |
| | | |||||
| * | Also includes ConstantLookup dependency for controller and mailer tests | Andy Lindeman | 2012-09-26 | 2 | -0/+2 |
| | | |||||
| * | Adds missing dependency to ActionView::TestCase::Behavior | Andy Lindeman | 2012-09-26 | 1 | -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 Kemper | 2012-09-26 | 2 | -21/+30 |
| | | | | logs. | ||||
* | Tests tag the Rails log with the current test class and test case | Jeremy Kemper | 2012-09-26 | 4 | -0/+54 |
| | |||||
* | Allow wrapping a logger that hasn't set a formatter. Default to our ↵ | Jeremy Kemper | 2012-09-26 | 2 | -2/+12 |
| | | | | SimpleFormatter. Otherwise we try extending nil with the tagging API. | ||||
* | Merge pull request #7444 from szimek/params_parser_raises_parsing_error | Aaron Patterson | 2012-09-26 | 3 | -7/+18 |
|\ | | | | | Raise generic ParseError exception when ParamsParser fails parsing request params | ||||
| * | Make ActionDispatch::ParamsParser::ParseError#original_exception return the ↵ | Szymon Nowak | 2012-08-27 | 3 | -6/+14 |
| | | | | | | | | original exception. | ||||
| * | Fix ActionDispatch::ParamsParser::ParseError message for XML and JSON parsers. | Szymon Nowak | 2012-08-24 | 3 | -6/+6 |
| | | |||||
| * | Raise generic ParseError exception when ActionDispatch::ParamsParser fails ↵ | Szymon Nowak | 2012-08-24 | 3 | -4/+7 |
| | | | | | | | | parsing request params. | ||||
* | | Add logger.push_tags and .pop_tags to complement logger.tagged | Jeremy Kemper | 2012-09-26 | 3 | -14/+59 |
| | | |||||
* | | Log newlines separately to ensure the 'Started GET ...' line has a tag on ↵ | Jeremy Kemper | 2012-09-25 | 1 | -1/+2 |
| | | | | | | | | the same line | ||||
* | | fixing most tests on Ruby 2.0 | Aaron Patterson | 2012-09-25 | 2 | -3/+3 |
| | | |||||
* | | Revert "Use plaform mri_19 for debugger gem" | Aaron Patterson | 2012-09-25 | 1 | -6/+1 |
| | | | | | | | | This reverts commit 2233f1456f6fb1b92e6c1bded70b89a3302c4306. | ||||
* | | Merge pull request #7759 from blowmage/minitest | Aaron Patterson | 2012-09-25 | 2 | -4/+3 |
|\ \ | | | | | | | Add missing inflector dependency | ||||
| * | | Add missing inflector dependency | Mike Moore | 2012-09-25 | 2 | -4/+3 |
| | | | |||||
* | | | Fix destructive side effects from marshaling an association caused by ↵ | Jeremy Kemper | 2012-09-25 | 2 | -7/+7 |
| | | | | | | | | | | | | 65843e1acc0c8d285ff79f8c9c49d4d1215440be | ||||
* | | | Merge pull request #7757 from yahonda/skip_non_supported_isolation_level | Rafael Mendonça França | 2012-09-25 | 1 | -2/+6 |
|\ \ \ | | | | | | | | | Skip tests for non-supported isolation levels | ||||
| * | | | Skip tests for non-supported isolation levels | Yasuo Honda | 2012-09-26 | 1 | -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 gem | Santiago Pastorino | 2012-09-25 | 1 | -1/+6 |
|/ / / | |||||
* | | | Merge pull request #7756 from yahonda/isolation_level_oracle | Rafael Mendonça França | 2012-09-25 | 1 | -0/+2 |
|\ \ \ | | | | | | | | | Skip tests for non-supported isolation levels with Oracle | ||||
| * | | | Skip tests for non-supported isolation levels with Oracle | Yasuo Honda | 2012-09-25 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge pull request #7754 from NARKOZ/image_tag-size | Rafael Mendonça França | 2012-09-25 | 3 | -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 respectively | Nihad Abbasov | 2012-09-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | http://guides.rubyonrails.org/security.html#regular-expressions | ||||
| * | | | | allow to pass numerical value to size option in image_tag | Nihad Abbasov | 2012-09-25 | 3 | -5/+11 |
|/ / / / | | | | | | | | | | | | | | | | | This will set image's both width and height attributes to value passed in size option. | ||||
* | | | | Merge pull request #7749 from blowmage/minitest | Aaron Patterson | 2012-09-25 | 16 | -11/+726 |
|\ \ \ \ | |/ / / |/| / / | |/ / | Improve support for minitest's spec DSL | ||||
| * | | Register AD::IntegrationTest for minitest's spec DSL | Mike Moore | 2012-09-24 | 2 | -0/+44 |
| | | | |||||
| * | | Support helper tests using spec DSL | Mike Moore | 2012-09-24 | 3 | -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 DSL | Mike Moore | 2012-09-24 | 2 | -0/+42 |
| | | | |||||
| * | | Support mailer tests using spec DSL | Mike Moore | 2012-09-24 | 2 | -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 DSL | Mike Moore | 2012-09-24 | 2 | -0/+44 |
| | | | |||||
| * | | Add register_spec_type test coverage | Mike Moore | 2012-09-24 | 1 | -0/+23 |
| | | | |||||
| * | | Allow strings in the controller test describe blocks | Mike Moore | 2012-09-24 | 3 | -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 #7743 | Mike Moore | 2012-09-24 | 2 | -3/+121 |
| | | | | | | | | | | | | Add tests for controller tests using the minitest spec DSL. | ||||
| * | | Create ActiveSupport::Testing::ConstantLookup | Mike Moore | 2012-09-24 | 3 | -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_request | Rafael Mendonça França | 2012-09-25 | 4 | -8/+24 |
|\ \ \ | | | | | | | | | remove unused Mime::Type#verify_request? | ||||
| * | | | depreacte unused Mime::Type#verify_request? and ↵ | grosser | 2012-09-24 | 4 | -8/+24 |
| | | | | | | | | | | | | | | | | Mime::Type.browser_generated_types | ||||
* | | | | some copy-editing I did in passing | Xavier Noria | 2012-09-25 | 1 | -26/+28 |
| | | | | |||||
* | | | | gives credit to Aaron in the CHANGELOG entry for AC::Live | Xavier Noria | 2012-09-25 | 1 | -2/+4 |
| | | | | |||||
* | | | | Merge pull request #7727 from frodsan/security_guide_sp | Rafael Mendonça França | 2012-09-24 | 1 | -58/+79 |
|\ \ \ \ | | | | | | | | | | | update Security guide with StrongParameters documentation |