Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b4b0fddb24
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.383 kB
require 'abstract_unit'
class SweeperTest < ActionController::TestCase
class ::AppSweeper < ActionController::Caching::Sweeper; end
def test_sweeper_should_not_ignore_unknown_method_calls
sweeper = ActionController::Caching::Sweeper.send(:new)
assert_raise NameError do
sweeper.instance_eval do
some_method_that_doesnt_exist
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.