diff --git a/Rakefile b/Rakefile index d27412b0a..fe92286e7 100644 --- a/Rakefile +++ b/Rakefile @@ -40,14 +40,6 @@ task :dns_rest do Rake::Task['beef_stop'].invoke end -# TODO: Remove task before comitting -desc "Run DNS unit tests" -task :dns do - Rake::Task['beef_start'].invoke - sh "cd test/unit; ruby -W0 ts_unit_dns.rb" - Rake::Task['beef_stop'].invoke -end - desc "Run integration unit tests" task :unit => ["install"] do sh "cd test/unit;ruby -W0 ts_unit.rb" diff --git a/test/unit/ts_unit_dns.rb b/test/unit/ts_unit_dns.rb deleted file mode 100644 index 986eb3f17..000000000 --- a/test/unit/ts_unit_dns.rb +++ /dev/null @@ -1,20 +0,0 @@ -# -# Copyright (c) 2006-2013 Wade Alcorn - wade@bindshell.net -# Browser Exploitation Framework (BeEF) - http://beefproject.com -# See the file 'doc/COPYING' for copying permission -# -require '../common/ts_common' -require './extensions/tc_dns' - -class TS_BeefDnsTests - - def self.suite - suite = Test::Unit::TestSuite.new(name="BeEF DNS Unit Tests") - suite << TC_Dns.suite - - return suite - end - -end - -Test::Unit::UI::Console::TestRunner.run(TS_BeefDnsTests)