Sha256: 10669f9f367dc55c5da2595ea1ced3ea554869058961ba7f20665fc55f1cd87c

Contents?: true

Size: 415 Bytes

Versions: 4

Compression:

Stored size: 415 Bytes

Contents

require 'spec_helper'

describe Storey, '#schema_search_path_for' do

  context 'given a search path that is one of the persistent schemas' do
    Storey.configuration.persistent_schemas = %w(halla)
    Storey.schema_search_path_for('bola,halla').should == 'bola, halla'
    Storey.schema_search_path_for('halla').should == 'halla'
    Storey.schema_search_path_for('halla,bola').should == 'halla, bola'
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
storey-2.2.0 spec/storey/schema_search_path_for_spec.rb
storey-2.1.2 spec/storey/schema_search_path_for_spec.rb
storey-2.1.1 spec/storey/schema_search_path_for_spec.rb
storey-2.1.0 spec/storey/schema_search_path_for_spec.rb