Sha256: 900a9a2bb59215f70da43842fbb03178f7faa28b54c6aaf91c35adedfd8a99aa
Contents?: true
Size: 388 Bytes
Versions: 1
Compression:
Stored size: 388 Bytes
Contents
require 'spec_helper' describe Octoshark::ActiveRecordExtensions do it "reloads Octoshark connection pools when establishing a new connection" do Octoshark.configure(configs) spec = ActiveRecord::Base.remove_connection ActiveRecord::Base.establish_connection(spec) expect(ActiveRecord::Base.connection_pool).to eq(Octoshark.find_connection_pool(:default)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
octoshark-0.0.3 | spec/octoshark/active_record_extensions_spec.rb |