Sha256: d264ef70a598f135cf965bfd5a507b253fc76593a0ceac2176e759be19f98bf4

Contents?: true

Size: 350 Bytes

Versions: 5

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe SqlQuery::Config do
  describe 'initialize' do
    it 'sets path to default' do
      expect(described_class.new.path).to eq('/app/sql_queries')
    end

    it 'sets adapter to ActiveRecord::Base' do
      expect(described_class.new.adapter).to eq(ActiveRecord::Base)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sql_query-0.7.4 spec/config_spec.rb
sql_query-0.7.3 spec/config_spec.rb
sql_query-0.7.2 spec/config_spec.rb
sql_query-0.7.1 spec/config_spec.rb
sql_query-0.7.0 spec/config_spec.rb