Sha256: 5911cce1876184a16167436dad1cfbf7f20d5b78f2cffb65e8d8c31f29d312aa

Contents?: true

Size: 454 Bytes

Versions: 4

Compression:

Stored size: 454 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.create 'bola'
    # Storey.create 'halla'
    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

4 entries across 4 versions & 1 rubygems

Version Path
storey-0.4.0 spec/storey/schema_search_path_for_spec.rb
storey-0.3.6 spec/storey/schema_search_path_for_spec.rb
storey-0.3.5 spec/storey/schema_search_path_for_spec.rb
storey-0.3.4 spec/storey/schema_search_path_for_spec.rb