Skip to content

Commit

Permalink
Remove deprecated assertions.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Jan 28, 2007
1 parent b7df916 commit dde5274
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 453 deletions.
2 changes: 2 additions & 0 deletions actionpack/CHANGELOG
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,7 @@
*SVN* *SVN*


* Remove deprecated assertions. [Jeremy Kemper]

* Change session restoration to allow namespaced models to be autoloaded. Closes #6348. [Nicholas Seckar] * Change session restoration to allow namespaced models to be autoloaded. Closes #6348. [Nicholas Seckar]


* Fix doubly appearing parameters due to string and symbol mixups. Closes #2551. [aeden] * Fix doubly appearing parameters due to string and symbol mixups. Closes #2551. [aeden]
Expand Down
4 changes: 1 addition & 3 deletions actionpack/lib/action_controller/assertions.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def self.included(klass)
include ActionController::Assertions::TagAssertions include ActionController::Assertions::TagAssertions
include ActionController::Assertions::DomAssertions include ActionController::Assertions::DomAssertions
include ActionController::Assertions::ModelAssertions include ActionController::Assertions::ModelAssertions
include ActionController::Assertions::DeprecatedAssertions
end end
end end


Expand All @@ -71,12 +70,11 @@ def clean_backtrace(&block)
require File.dirname(__FILE__) + '/assertions/dom_assertions' require File.dirname(__FILE__) + '/assertions/dom_assertions'
require File.dirname(__FILE__) + '/assertions/routing_assertions' require File.dirname(__FILE__) + '/assertions/routing_assertions'
require File.dirname(__FILE__) + '/assertions/model_assertions' require File.dirname(__FILE__) + '/assertions/model_assertions'
require File.dirname(__FILE__) + '/assertions/deprecated_assertions'


module Test #:nodoc: module Test #:nodoc:
module Unit #:nodoc: module Unit #:nodoc:
class TestCase #:nodoc: class TestCase #:nodoc:
include ActionController::Assertions include ActionController::Assertions
end end
end end
end end
228 changes: 0 additions & 228 deletions actionpack/lib/action_controller/assertions/deprecated_assertions.rb

This file was deleted.

92 changes: 0 additions & 92 deletions actionpack/test/activerecord/active_record_assertions_test.rb

This file was deleted.

Loading

0 comments on commit dde5274

Please sign in to comment.