Sha256: 0fc319927e49d28140bf14d0b09c2d3849a6e682228bc81bcee24ab1548cfdd5
Contents?: true
Size: 403 Bytes
Versions: 4
Compression:
Stored size: 403 Bytes
Contents
require 'spec_helper' module Alf describe Database, 'connection' do let(:db){ Database.new(Path.dir) } subject{ db.connection } after do subject.close end it{ should be_a(Database::Connection) } it 'sets a copy of the original options' do subject.options.should be_a(Database::Options) subject.options.should_not be(db.default_options) end end end
Version data entries
4 entries across 4 versions & 1 rubygems