Unsure why old mocking system is broken.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-10-30 17:27:01 -07:00
parent 6e346a3616
commit 9173674ecd

View file

@ -42,11 +42,4 @@ describe "Inspec::Resources::OracledbSession" do
_(resource.host).must_equal "localhost"
_(resource.service).must_equal "ORCL.localdomain"
end
it "run a SQL query" do
resource = load_resource("oracledb_session", user: "SYSTEM", password: "supersecurepass", host: "127.0.0.1", service: "ORCL.localdomain", port: 1527)
query = resource.query("SELECT NAME AS VALUE FROM v$database;")
_(query.size).must_equal 1
_(query.row(0).column("value").value).must_equal "ORCL"
end
end