mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
ba6745444e
Signed-off-by: Nolan Davidson <ndavidson@chef.io>
15 lines
499 B
Ruby
15 lines
499 B
Ruby
# 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
|