Merge pull request #1773 from beefproject/raketest

Raketest
This commit is contained in:
jcrew99
2019-09-20 18:17:19 +10:00
committed by GitHub
3 changed files with 2 additions and 14 deletions

View File

@@ -21,3 +21,4 @@ addons:
- zlib1g-dev - zlib1g-dev
- liblzma-dev - liblzma-dev
- libcurl4-openssl-dev - libcurl4-openssl-dev

13
Gemfile
View File

@@ -77,19 +77,6 @@ end
# For running unit tests # For running unit tests
group :test do group :test do
if defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby"
module Kernel
alias :_at_exit :at_exit
def at_exit(&block)
_at_exit do
exit_status = $!.status if $!.is_a?(SystemExit)
block.call
exit exit_status if exit_status
end
end
end
end
if ENV['BEEF_TEST'] if ENV['BEEF_TEST']
gem 'test-unit' gem 'test-unit'
gem 'test-unit-full' gem 'test-unit-full'

View File

@@ -18,7 +18,7 @@ beef:
# Used by both the RESTful API and the Admin interface # Used by both the RESTful API and the Admin interface
credentials: credentials:
user: "beef" user: "beef"
passwd: "beeF" passwd: "beef"
# Interface / IP restrictions # Interface / IP restrictions
restrictions: restrictions: