Sha256: acb57977ccb50875184add65ac62dc999505b04a24dd28ba373ad04699b31464

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
sql_query-0.6.0 spec/config_spec.rb
sql_query-0.5.0 spec/config_spec.rb