Sha256: 457b9727caad36dcfe5ca8f6d0cb80df599fdba7b01d8493dadcf3955d066965
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Sequel do describe "has method 'fos' that" do before :all do @db = Sequel.fos('fos') end it "instantiate a fos/pervasive db from an odbc name" do @db.should_not be nil end it "actually works to see a fos table" do TripLeg.db=@db TripLeg.first.should_not be nil end end it "set_db method finds sets db on all Sequel models" do db = Sequel.fos('fos') Sequel.set_db db Trip.db.should == db end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fossil-0.4.19 | spec/sequel/core_patch_spec.rb |