Files
beef/test/unit/core/tc_core.rb
2018-01-04 09:12:47 +10:00

30 lines
497 B
Ruby

#
# Copyright (c) 2006-2018 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
require 'test/unit'
class TC_Core < Test::Unit::TestCase
def setup
$root_dir = "../../"
$:.unshift File.join( %w{ ../../ } )
end
def teardown
$root_dir = nil
end
#
# Test the core is functional
#
def test_core
assert_nothing_raised do
require 'core/core'
end
end
end