inspec/test/unit/resources/oracledb_session_test.rb

16 lines
499 B
Ruby
Raw Normal View History

# encoding: utf-8
# author: Nolan Davidson
require 'helper'
describe 'Inspec::Resources::OracledbSession' do
it 'verify oracledb_session configuration' do
resource = load_resource('oracledb_session', user: 'myuser', pass: 'mypass', host: 'oraclehost', sid: 'mysid')
_(resource.user).must_equal 'myuser'
_(resource.pass).must_equal 'mypass'
_(resource.host).must_equal 'oraclehost'
_(resource.sid).must_equal 'mysid'
_(resource.sqlplus_bin).must_equal 'sqlplus'
end
end