diff options
author | Arun Agrawal <arun@fromjaipur.com> | 2011-09-04 08:24:02 +0530 |
---|---|---|
committer | Arun Agrawal <arun@fromjaipur.com> | 2011-09-04 08:24:02 +0530 |
commit | a6c60222c580e4002152b1ac1857673038b1fd42 (patch) | |
tree | fd7474d989ca79c655766109002e66b209529717 /activesupport/lib/active_support/log_subscriber/test_helper.rb | |
parent | c8d0dc376a72b976ccef17b8d0b413961b306a5f (diff) | |
download | rails-a6c60222c580e4002152b1ac1857673038b1fd42.tar.gz rails-a6c60222c580e4002152b1ac1857673038b1fd42.tar.bz2 rails-a6c60222c580e4002152b1ac1857673038b1fd42.zip |
Modified content in guides and comments
for "assert /" warnings.
Removed because if somebody will use this code
they will get warnings!
Diffstat (limited to 'activesupport/lib/active_support/log_subscriber/test_helper.rb')
-rw-r--r-- | activesupport/lib/active_support/log_subscriber/test_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/log_subscriber/test_helper.rb b/activesupport/lib/active_support/log_subscriber/test_helper.rb index 3e54134c5c..dcfcf0b63c 100644 --- a/activesupport/lib/active_support/log_subscriber/test_helper.rb +++ b/activesupport/lib/active_support/log_subscriber/test_helper.rb @@ -18,8 +18,8 @@ module ActiveSupport # Developer.all # wait # assert_equal 1, @logger.logged(:debug).size - # assert_match /Developer Load/, @logger.logged(:debug).last - # assert_match /SELECT \* FROM "developers"/, @logger.logged(:debug).last + # assert_match(/Developer Load/, @logger.logged(:debug).last) + # assert_match(/SELECT \* FROM "developers"/, @logger.logged(:debug).last) # end # end # |