Parent

Object

Constants

JRUBY
WINDOWS

Public Instance Methods

connecting_with(uri) click to toggle source

FIXME JRuby (and MRI): Should these be ArgumentError or DataObjects::SQLError?

# File lib/data_objects/spec/shared/connection_spec.rb, line 108
def connecting_with(uri)
  lambda { DataObjects::Connection.new(uri) }
end
test_connection(conn) click to toggle source
# File lib/data_objects/spec/shared/connection_spec.rb, line 28
def test_connection(conn)
  reader = conn.create_command(CONFIG.testsql || "SELECT 1").execute_reader
  reader.next!
  reader.values[0]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.