Sha256: 9efdec7acd8b039b057880c8359a3112794ee2c9193dc40ea4727b1a6fb9802e

Contents?: true

Size: 621 Bytes

Versions: 2

Compression:

Stored size: 621 Bytes

Contents

# encoding: utf-8

require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
require 'data_objects/spec/shared/connection_spec'

describe DataObjects::SqlServer::Connection do

  before :all do
    @driver = CONFIG.scheme
    @user   = CONFIG.user
    @password = CONFIG.pass
    @host   = CONFIG.host
    @port   = CONFIG.port
    @database = CONFIG.database
  end

  it_should_behave_like 'a Connection'
  it_should_behave_like 'a Connection with authentication support'
  it_should_behave_like 'a Connection with JDBC URL support' if JRUBY
  it_should_behave_like 'a Connection via JDNI' if JRUBY
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
do_sqlserver-tinytds-0.10.18.alpha spec/connection_spec.rb
do_sqlserver-tinytds-0.10.17.alpha spec/connection_spec.rb