Sha256: d0e4d26c94bd7f35fc5b88f3fc3e9c9d6893839ceb4984cd85dfae8f58e9a6b3
Contents?: true
Size: 361 Bytes
Versions: 14
Compression:
Stored size: 361 Bytes
Contents
require 'spec_helper' describe "Connection" do it "is connected" do expect(ActiveRecord::Base).to be_connected end it "re-opens without failure" do expect { ActiveRecord::Base.establish_connection :schema_dev }.to_not raise_error expect(ActiveRecord::Base.connection).to_not be_nil expect(ActiveRecord::Base).to be_connected end end
Version data entries
14 entries across 14 versions & 1 rubygems