Skip to content
Browse files

Cordon off missing filter methods

  • Loading branch information...
1 parent 7b3fb1d commit 8a03a999ef2ed47c7f2ead1a9dd639120c569e03 @jeremy jeremy committed May 22, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 actionpack/test/controller/filters_test.rb
View
8 actionpack/test/controller/filters_test.rb
@@ -1,5 +1,13 @@
require 'abstract_unit'
+class << ActionController::Base
+ %w(append_around_filter prepend_after_filter prepend_around_filter prepend_before_filter skip_after_filter skip_before_filter skip_filter).each do |pending|
+ define_method(pending) do |*args|
+ $stderr.puts "#{pending} unimplemented: #{args.inspect}"
+ end unless method_defined?(pending)
+ end
+end
+
class FilterTest < Test::Unit::TestCase
include ActionController::TestProcess

0 comments on commit 8a03a99

Please sign in to comment.
Something went wrong with that request. Please try again.