changing back the gem and test plus travis
This commit is contained in:
@@ -21,3 +21,6 @@ addons:
|
||||
- zlib1g-dev
|
||||
- liblzma-dev
|
||||
- libcurl4-openssl-dev
|
||||
script:
|
||||
- bundle exec rake build
|
||||
- bundle exec rake builddoc
|
||||
|
||||
13
Gemfile
13
Gemfile
@@ -77,19 +77,6 @@ end
|
||||
|
||||
# For running unit tests
|
||||
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']
|
||||
gem 'test-unit'
|
||||
gem 'test-unit-full'
|
||||
|
||||
@@ -34,7 +34,6 @@ class TC_Filesystem < Test::Unit::TestCase
|
||||
user_cred=YAML.load_file(test_file)
|
||||
x= user_cred['beef']['credentials']
|
||||
assert_equal({"passwd"=>"beef", "user"=>"beef"}, x, 'The default creds are not set' )
|
||||
exit 1
|
||||
end
|
||||
|
||||
def test_install_file
|
||||
|
||||
Reference in New Issue
Block a user