Sha256: d875074a23bb5f9e27684c1c5a5a5834bb957fb5e05cf5ea81466b2d994223df

Contents?: true

Size: 399 Bytes

Versions: 7

Compression:

Stored size: 399 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

7 entries across 7 versions & 1 rubygems

Version Path
storey-1.0.0 spec/storey/schema_search_path_for_spec.rb
storey-0.6.0 spec/storey/schema_search_path_for_spec.rb
storey-0.5.2 spec/storey/schema_search_path_for_spec.rb
storey-0.5.1 spec/storey/schema_search_path_for_spec.rb
storey-0.5.0 spec/storey/schema_search_path_for_spec.rb
storey-0.4.2 spec/storey/schema_search_path_for_spec.rb
storey-0.4.1 spec/storey/schema_search_path_for_spec.rb