Sha256: 74973e77d2d6a1db1907c168cf4a0852c09efe45b86883d270d5ba0d350f9604

Contents?: true

Size: 491 Bytes

Versions: 9

Compression:

Stored size: 491 Bytes

Contents

require 'spec_helper'

describe 'Storey', '#default_search_path' do

  it 'should include the persistent schemas' do
    Storey.persistent_schemas = %w(hello there)
    Storey.default_search_path.should == '"$user",public,hello,there'
  end

  context 'when the persistent schemas includes `public`' do
    it 'should only have one instance of public' do
      Storey.persistent_schemas = %w(public hello)
      Storey.default_search_path.should == '"$user",public,hello'
    end
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
storey-2.0.0 spec/storey/default_search_path_spec.rb
storey-1.0.0 spec/storey/default_search_path_spec.rb
storey-0.6.0 spec/storey/default_search_path_spec.rb
storey-0.5.2 spec/storey/default_search_path_spec.rb
storey-0.5.1 spec/storey/default_search_path_spec.rb
storey-0.5.0 spec/storey/default_search_path_spec.rb
storey-0.4.2 spec/storey/default_search_path_spec.rb
storey-0.4.1 spec/storey/default_search_path_spec.rb
storey-0.4.0 spec/storey/default_search_path_spec.rb