blob: 3c0c1907f923b4a88046cfe725e7ae402a1b3f32 (
plain) (
tree)
|
|
require "abstract_unit"
require "action_dispatch/testing/integration"
module ActionDispatch
class RunnerTest < ActiveSupport::TestCase
class MyRunner
include Integration::Runner
def initialize(session)
@integration_session = session
end
def hi; end
end
def test_respond_to?
runner = MyRunner.new(Class.new { def x; end }.new)
assert runner.respond_to?(:hi)
assert runner.respond_to?(:x)
end
end
end
|