Sha256: abecedcdf6744c94977b2e5b6e3eb3bcf3c1790fa0731f8fcec3d76d67163021

Contents?: true

Size: 401 Bytes

Versions: 3

Compression:

Stored size: 401 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.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

3 entries across 3 versions & 1 rubygems

Version Path
storey-2.0.2 spec/storey/schema_search_path_for_spec.rb
storey-2.0.1 spec/storey/schema_search_path_for_spec.rb
storey-2.0.0 spec/storey/schema_search_path_for_spec.rb