Sha256: 574b577c5d6670cbd997fcfa812ec2877fae1526e3ede1e98a4b68b7c8f66f4d
Contents?: true
Size: 667 Bytes
Versions: 1
Compression:
Stored size: 667 Bytes
Contents
require 'spec_helper' describe 'Storey', '#default_search_path' do context "when #default_search_path has not been set before" do it "defaults to the current schema" do expect(Storey.default_search_path).to eq '"$user",public' end end it 'includes the persistent schemas' do Storey.persistent_schemas = %w(hello there) expect(Storey.default_search_path).to eq '"$user",public,hello,there' end context 'when the persistent schemas includes `public`' do it 'has one instance of public' do Storey.persistent_schemas = %w(public hello) expect(Storey.default_search_path).to eq '"$user",public,hello' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
storey-2.0.1 | spec/storey/default_search_path_spec.rb |