inspec/test/unit/resources/oracledb_session_test.rb
Nolan Davidson ba6745444e Renaming oracle_session to oracledb_session
Signed-off-by: Nolan Davidson <ndavidson@chef.io>
2017-05-05 13:11:07 -04:00

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