blob: cecaa5b958244e503d1a3eacda76fc9a1916fc5f (
plain) (
tree)
|
|
require "abstract_unit"
class DriverAdapterTest < ActiveSupport::TestCase
test "only registered adapters are accepted" do
assert_raises(NameError) do
ActionSystemTest.driver = :whatever
end
assert_nothing_raised do
ActionSystemTest.driver = :rack_test
end
end
end
|