Sha256: c061b93212339255584424dcba985d2f678f8f471252ce058076d84d444b7043
Contents?: true
Size: 410 Bytes
Versions: 2
Compression:
Stored size: 410 Bytes
Contents
require 'spec_helper' require File.expand_path("../dummy/lib/engine.rb", __FILE__) module Combustion describe Database do before do Dir.chdir(File.expand_path('../dummy', __FILE__)) do Combustion.initialize! :active_record end end it 'run migration from dummy engine' do expect(ActiveRecord::Base.connection.table_exists?('dummy_table')).to eq true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
combustion-0.5.5 | spec/database_spec.rb |
combustion-0.5.4 | spec/database_spec.rb |