From 55beed4bc826247fa628121b5217b540611aa6d3 Mon Sep 17 00:00:00 2001 From: Nolan Davidson Date: Fri, 5 May 2017 10:11:53 -0400 Subject: [PATCH] Resolving rubucop issues Signed-off-by: Nolan Davidson --- lib/resources/oracle_session.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/resources/oracle_session.rb b/lib/resources/oracle_session.rb index 58d5db3fb..e1ea5ecfd 100644 --- a/lib/resources/oracle_session.rb +++ b/lib/resources/oracle_session.rb @@ -18,9 +18,9 @@ module Inspec::Resources def initialize(opts = {}) @user = opts[:user] @pass = opts[:pass] - @host = opts[:host] || "localhost" + @host = opts[:host] || 'localhost' @sid = opts[:sid] - @sqlplus_bin = opts[:sqlplus_bin] || "sqlplus" + @sqlplus_bin = opts[:sqlplus_bin] || 'sqlplus' return skip_resource("Can't run Oracle checks without authentication") if @user.nil? or @pass.nil? end