Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 443 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 443 Bytes

SqlSpecHelper

spec/spec_helper.rb

require 'sql_spec_helper'

# Add `$sql`, `DB`, `run_sql`, `compare_with`, and `Display` to main for backwards compatibility.
$sql_spec_helper = SqlSpecHelper.new('/workspace/solution.txt')
$sql = $sql_spec_helper.sql
DB = $sql_spec_helper.db
def run_sql(...)
  $sql_spec_helper.run_sql(...)
end
def compare_with(...)
  $sql_spec_helper.compare_with(...)
end
Display = SqlSpecHelper::Display