combustion 0.5.5 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3267619b0496c3956bfa0bd994939298763e4aed
4
- data.tar.gz: ef5c03a4638db69326a76bd2aa949a20f321ab84
3
+ metadata.gz: 370934f0403896862f880b43c60514bdc55b7d74
4
+ data.tar.gz: f2aa52b1378141afc13f172bd1fc6176d7ac893d
5
5
  SHA512:
6
- metadata.gz: 14fa5db249addbd51fee818b3bc8954ba455313e93388e8e9b044a931d9d9c1276605dfb50b59fe4f603e3a180a8b6533fdbface66ff247d94a64d886ca63cb3
7
- data.tar.gz: 43b4c7cc7b9e35c5a2e1d8d772c5924b54e732580ab6b7cba5cddc1771d0124ce6f668bf9cca68f744c7d6b30f8d7edcbf512239d6e3698d0079163b73e719dc
6
+ metadata.gz: 3e1a3c1385e5187986589547b9104787e3cc2766dba79e3baba3f1ca0d6fa958ee916e44c47ae9d989d8604108bd965b0c9edc1124b5a1fb7a705366dbe01328
7
+ data.tar.gz: 8373fdee44ece6491d8391199873eeb516585a210210b1f5eb54ad657cb24443d09a6a841226666bc6c177bdaff327b15f8c8f36d33ccbf881941331e51ff573
data/.gitignore CHANGED
@@ -1,7 +1,10 @@
1
1
  *.gem
2
2
  .bundle
3
3
  Gemfile.lock
4
+ gemfiles/*.lock
4
5
  pkg/*
5
6
  .rvmrc
6
7
  .ruby-version
7
- spec/dummy/spec/internal/db/combustion_test.sqlite
8
+ spec/dummy/spec/internal/db/*.sqlite
9
+ spec/dummy/spec/internal/test
10
+ spec/dummy/spec/internal/test_another
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --color
2
+ --tty
3
+ --order random
4
+ --require spec_helper.rb
@@ -0,0 +1,19 @@
1
+ language: ruby
2
+ env:
3
+ matrix:
4
+ - "DB_ADAPTER=sqlite3"
5
+ - "DB_ADAPTER=postgresql"
6
+ - "DB_ADAPTER=mysql2"
7
+ rvm:
8
+ - 2.2.6
9
+ - 2.3.3
10
+ - 2.4.0
11
+ before_install:
12
+ - gem update --system
13
+ - gem install bundler
14
+ before_script:
15
+ - bundle exec appraisal install
16
+ script: 'bundle exec appraisal rspec'
17
+ services:
18
+ - mysql
19
+ - postgresql
@@ -0,0 +1,29 @@
1
+ if RUBY_VERSION.to_f <= 2.3
2
+ appraise "rails-3.1" do
3
+ gem "rails", "~> 3.1.12"
4
+ gem "mysql2", "~> 0.3.10"
5
+ end
6
+
7
+ appraise "rails-3.2" do
8
+ gem "rails", "~> 3.2.22.5"
9
+ gem "mysql2", "~> 0.3.10"
10
+ end
11
+
12
+ appraise "rails-4.0" do
13
+ gem "rails", "~> 4.0.13"
14
+ gem "mysql2", "~> 0.3.10"
15
+ end
16
+
17
+ appraise "rails-4.1" do
18
+ gem "rails", "~> 4.1.16"
19
+ gem "mysql2", "~> 0.3.13"
20
+ end
21
+
22
+ appraise "rails-4.2" do
23
+ gem "rails", "~> 4.2.8"
24
+ end
25
+ end
26
+
27
+ appraise "rails-5.0" do
28
+ gem "rails", "~> 5.0.2"
29
+ end
data/README.md CHANGED
@@ -10,10 +10,10 @@ Get the gem into either your gemspec or your Gemfile, depending on how you manag
10
10
 
11
11
  ```ruby
12
12
  # gemspec
13
- gem.add_development_dependency 'combustion', '~> 0.5.5'
13
+ gem.add_development_dependency 'combustion', '~> 0.6.0'
14
14
 
15
15
  # Gemfile
16
- gem 'combustion', '~> 0.5.5', :group => :test
16
+ gem 'combustion', '~> 0.6.0', :group => :test
17
17
  ```
18
18
 
19
19
  In your `spec_helper.rb`, get Combustion to set itself up - which has to happen before you introduce `rspec/rails` and - if being used - `capybara/rails`. Here's an example within context:
@@ -46,6 +46,7 @@ combust
46
46
  bundle exec combust
47
47
  ```
48
48
 
49
+ Minitest support is considered to be experimental, but it's certainly working [for some](https://github.com/pat/combustion/issues/78). Comments on others' experiences are welcome!
49
50
 
50
51
  What Combustion is doing is setting up a Rails application at `spec/internal` - but you only need to add the files within that directory that you're going to use. Read on for some detail about what that involves.
51
52
 
@@ -174,13 +175,13 @@ end
174
175
 
175
176
  ## Compatibility
176
177
 
177
- Developed for Rails 3.1 or better (including Rails 4) and Ruby 1.9 or better. It should work on any other Ruby, and possibly Rails 3.0, but will not work neatly with earlier versions of Rails.
178
+ The current test matrix covers MRI 2.2 to 2.4, and Rails 3.1 to 5.0. It will possibly work on older versions and other Ruby implementations as well.
178
179
 
179
180
  You can also use Combustion with multiple versions of Rails to test compatibility across them. [Appraisal](https://github.com/thoughtbot/appraisal) is a gem that can help with this, and a good starting reference is the [Thinking Sphinx](https://github.com/pat/thinking-sphinx) test suite, which runs against [multiple versions](https://github.com/pat/thinking-sphinx/blob/master/Appraisals) of Rails.
180
181
 
181
182
  ## Limitations and Known Issues
182
183
 
183
- Combustion is currently written with the expectation it'll be used with RSpec. I'd love to make this more flexible - if you want to give it a shot before I get around to it, patches are very much welcome.
184
+ Combustion is currently written with the expectation it'll be used with RSpec, but others have got it working with [Minitest](https://github.com/pat/combustion/issues/78). I'd love to make this more flexible - if you want to give it a shot before I get around to it, patches are very much welcome.
184
185
 
185
186
  I've not tried using this with Cucumber, but it should work in theory without too much hassle. Let me know if I'm wrong!
186
187
 
@@ -193,8 +194,8 @@ Contributions are very much welcome - but keep in mind the following:
193
194
  * Keep patches in a separate branch
194
195
  * Don't mess with the version or history file. I'll take care of that when the patch is merged in.
195
196
 
196
- There are no tests - partly because Combustion was extracted out from the tests of HyperTiny's Dobro, and partly because there's not much code. Still, if you can find a clean way of testing this, that'd be fantastic.
197
+ The tests are extremely minimal, and patches to extend the suite are especially welcome.
197
198
 
198
199
  ## Credits
199
200
 
200
- Copyright (c) 2011, Combustion is developed and maintained by Pat Allan, and is released under the open MIT Licence. Many thanks to HyperTiny for encouraging its development, and [all who have contributed patches](https://github.com/pat/combustion/contributors).
201
+ Copyright (c) 2011-2017, Combustion is developed and maintained by Pat Allan, and is released under the open MIT Licence. Many thanks to HyperTiny for encouraging its development, and [all who have contributed patches](https://github.com/pat/combustion/contributors).
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'combustion'
4
- s.version = '0.5.5'
4
+ s.version = '0.6.0'
5
5
  s.authors = ['Pat Allan']
6
6
  s.email = ['pat@freelancing-gods.com']
7
7
  s.homepage = 'https://github.com/pat/combustion'
@@ -20,7 +20,10 @@ Gem::Specification.new do |s|
20
20
  s.add_runtime_dependency 'railties', '>= 3.0.0'
21
21
  s.add_runtime_dependency 'thor', '>= 0.14.6'
22
22
 
23
+ s.add_development_dependency 'appraisal', '~> 2.1.0'
24
+ s.add_development_dependency 'mysql2'
25
+ s.add_development_dependency 'pg'
23
26
  s.add_development_dependency 'rails'
24
- s.add_development_dependency 'sqlite3'
25
27
  s.add_development_dependency 'rspec'
28
+ s.add_development_dependency 'sqlite3'
26
29
  end
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 3.1.12"
6
+ gem "mysql2", "~> 0.3.10"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 3.2.22.5"
6
+ gem "mysql2", "~> 0.3.10"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 4.0.13"
6
+ gem "mysql2", "~> 0.3.10"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 4.1.16"
6
+ gem "mysql2", "~> 0.3.13"
7
+
8
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 4.2.8"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 5.0.2"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "~> 5.0.2"
6
+
7
+ gemspec :path => "../"
@@ -18,6 +18,7 @@ module Combustion
18
18
  def self.initialize!(*modules, &block)
19
19
  @@setup_environment = block if block_given?
20
20
 
21
+ options = modules.extract_options!
21
22
  modules = Modules if modules == [:all]
22
23
  modules.each { |mod| require "#{mod}/railtie" }
23
24
 
@@ -27,7 +28,7 @@ module Combustion
27
28
 
28
29
  if modules.map(&:to_s).include? 'active_record'
29
30
  Combustion::Application.config.to_prepare do
30
- Combustion::Database.setup
31
+ Combustion::Database.setup(options)
31
32
  end
32
33
  end
33
34
 
@@ -4,10 +4,10 @@ module Combustion
4
4
  end
5
5
 
6
6
  class Database
7
- def self.setup(adapter = nil)
8
- Combustion::Database::Reset.call adapter
9
- Combustion::Database::LoadSchema.call
10
- Combustion::Database::Migrate.call
7
+ def self.setup(options = {})
8
+ Combustion::Database::Reset.call if options.fetch(:database_reset, true)
9
+ Combustion::Database::LoadSchema.call if options.fetch(:load_schema, true)
10
+ Combustion::Database::Migrate.call if options.fetch(:database_migrate, true)
11
11
  end
12
12
  end
13
13
  end
@@ -1,32 +1,26 @@
1
1
  class Combustion::Database::Reset
2
2
  UnsupportedDatabase = Class.new StandardError
3
3
 
4
- def self.call(adapter = nil)
5
- new(adapter).call
4
+ def self.call
5
+ new.call
6
6
  end
7
7
 
8
- def initialize(adapter = nil)
9
- @adapter = adapter
10
-
11
- set_configurations
8
+ def initialize
9
+ ActiveRecord::Base.configurations = YAML.load(
10
+ ERB.new(File.read("#{Rails.root}/config/database.yml")).result
11
+ )
12
12
  end
13
13
 
14
14
  def call
15
- operator.reset
15
+ ActiveRecord::Base.configurations.values.each do |conf|
16
+ operator_class(conf['adapter']).new(conf).reset
17
+ end
16
18
  end
17
19
 
18
20
  private
19
21
 
20
- def configuration
21
- @configuration ||= ActiveRecord::Base.configurations['test']
22
- end
23
-
24
- def operator
25
- operator_class.new configuration
26
- end
27
-
28
- def operator_class
29
- @operator ||= case configuration['adapter']
22
+ def operator_class(adapter)
23
+ @operator ||= case adapter
30
24
  when /mysql/
31
25
  Combustion::Databases::MySQL
32
26
  when /postgresql/, /postgis/
@@ -41,13 +35,7 @@ class Combustion::Database::Reset
41
35
  Combustion::Databases::Firebird
42
36
  else
43
37
  raise UnsupportedDatabase,
44
- "Unsupported database type: #{configuration['adapter']}"
38
+ "Unsupported database type: #{adapter}"
45
39
  end
46
40
  end
47
-
48
- def set_configurations
49
- ActiveRecord::Base.configurations = YAML.load(
50
- ERB.new(File.read("#{Rails.root}/config/database.yml")).result
51
- )
52
- end
53
41
  end
@@ -8,6 +8,8 @@ class Combustion::Databases::Base
8
8
  def reset
9
9
  drop
10
10
  create
11
+
12
+ establish_connection(:test)
11
13
  end
12
14
 
13
15
  private
@@ -2,9 +2,9 @@ class Combustion::Databases::MySQL < Combustion::Databases::Base
2
2
  ACCESS_DENIED_ERROR = 10145
3
3
 
4
4
  def reset
5
- super
5
+ establish_connection(configuration.merge('database' => nil))
6
6
 
7
- establish_connection :test
7
+ super
8
8
  end
9
9
 
10
10
  private
@@ -18,7 +18,6 @@ class Combustion::Databases::MySQL < Combustion::Databases::Base
18
18
  end
19
19
 
20
20
  def create
21
- establish_connection configuration.merge('database' => nil)
22
21
  connection.create_database configuration['database'], creation_options
23
22
  establish_connection configuration
24
23
  rescue error_class => error
@@ -47,7 +46,6 @@ class Combustion::Databases::MySQL < Combustion::Databases::Base
47
46
  end
48
47
 
49
48
  def drop
50
- establish_connection configuration
51
49
  connection.drop_database configuration['database']
52
50
  end
53
51
 
@@ -1,6 +1,7 @@
1
1
  class Combustion::Databases::PostgreSQL < Combustion::Databases::Base
2
2
  def reset
3
3
  base.clear_active_connections!
4
+ establish_connection(postgres_configuration)
4
5
 
5
6
  super
6
7
  end
@@ -8,18 +9,18 @@ class Combustion::Databases::PostgreSQL < Combustion::Databases::Base
8
9
  private
9
10
 
10
11
  def create
11
- establish_connection postgres_configuration
12
- connection.create_database configuration['database'],
12
+ connection.create_database(
13
+ configuration['database'],
13
14
  configuration.merge('encoding' => encoding)
14
- establish_connection configuration
15
+ )
16
+
15
17
  rescue Exception => error
16
18
  $stderr.puts error, *(error.backtrace)
17
19
  $stderr.puts "Couldn't create database for #{configuration.inspect}"
18
20
  end
19
21
 
20
22
  def drop
21
- establish_connection postgres_configuration
22
- connection.drop_database configuration['database']
23
+ connection.drop_database(configuration['database'])
23
24
  end
24
25
 
25
26
  def encoding
@@ -1,17 +1,28 @@
1
- require 'spec_helper'
2
- require File.expand_path("../dummy/lib/engine.rb", __FILE__)
3
-
4
1
  module Combustion
5
2
  describe Database do
6
- before do
3
+ before(:all) do
7
4
  Dir.chdir(File.expand_path('../dummy', __FILE__)) do
8
5
  Combustion.initialize! :active_record
9
6
  end
10
7
  end
11
8
 
12
- it 'run migration from dummy engine' do
13
- expect(ActiveRecord::Base.connection.table_exists?('dummy_table')).to eq true
9
+ it 'creates dummy table from migration in base database' do
10
+ expect(Model.connection.table_exists?('dummy_table')).to eq true
11
+ expect(Model.connection.table_exists?('dummy_in_another_db')).to eq false
12
+ end
13
+
14
+ it 'creates another dummy table from another database' do
15
+ expect(ModelInAnotherDb.connection.table_exists?('dummy_table')).to eq false
16
+ expect(ModelInAnotherDb.connection.table_exists?('dummy_in_another_db')).to eq true
17
+
18
+ end
19
+
20
+ it 'returns test databse for model with default connection' do
21
+ expect(Model.connection_config[:database]).to match /test/
22
+ end
23
+
24
+ it 'returns test_another databse for model with connection to second database' do
25
+ expect(ModelInAnotherDb.connection_config[:database]).to match /test_another/
14
26
  end
15
27
  end
16
28
  end
17
-
@@ -0,0 +1,9 @@
1
+ class CreateDummyTestTableInAnotherDb < ActiveRecord::Migration
2
+ def change
3
+ create_table 'dummy_in_another_db'
4
+ end
5
+
6
+ def connection
7
+ ModelInAnotherDb.connection
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ class Model < ActiveRecord::Base
2
+ self.table_name = 'dummy_table'
3
+ end
@@ -0,0 +1,5 @@
1
+ class ModelInAnotherDb < ActiveRecord::Base
2
+ self.table_name = 'dummy_in_another_db'
3
+
4
+ establish_connection :test_another
5
+ end
@@ -1,3 +1,15 @@
1
- test:
2
- adapter: sqlite3
3
- database: db/combustion_test.sqlite
1
+ test: &defaults
2
+ adapter: <%= ENV.fetch("DB_ADAPTER") %>
3
+ database: test
4
+ <% if ENV["DB_HOST"] %>
5
+ host: <%= ENV["DB_HOST"] %>
6
+ <% end %>
7
+
8
+ <% if ENV["DB_USERNAME"] %>
9
+ username: <%= ENV["DB_USERNAME"] %>
10
+ <% end %>
11
+
12
+
13
+ test_another:
14
+ <<: *defaults
15
+ database: test_another
@@ -1,3 +1,14 @@
1
1
  # coding: utf-8
2
2
  require 'bundler/setup'
3
3
  require 'combustion'
4
+
5
+ if Rails::VERSION::STRING.to_f < 4.1
6
+ require 'active_record'
7
+ require 'active_record/connection_adapters/mysql2_adapter'
8
+
9
+ class ActiveRecord::ConnectionAdapters::Mysql2Adapter
10
+ NATIVE_DATABASE_TYPES[:primary_key] = "int(11) auto_increment PRIMARY KEY"
11
+ end
12
+ end
13
+
14
+ require File.expand_path("../dummy/lib/engine.rb", __FILE__)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: combustion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-23 00:00:00.000000000 Z
11
+ date: 2017-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -53,7 +53,21 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.14.6
55
55
  - !ruby/object:Gem::Dependency
56
- name: rails
56
+ name: appraisal
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.1.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: mysql2
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - ">="
@@ -67,7 +81,21 @@ dependencies:
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
- name: sqlite3
84
+ name: pg
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rails
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - ">="
@@ -94,6 +122,20 @@ dependencies:
94
122
  - - ">="
95
123
  - !ruby/object:Gem::Version
96
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: sqlite3
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
97
139
  description: Test your Rails Engines without needing a full Rails app
98
140
  email:
99
141
  - pat@freelancing-gods.com
@@ -103,6 +145,9 @@ extensions: []
103
145
  extra_rdoc_files: []
104
146
  files:
105
147
  - ".gitignore"
148
+ - ".rspec"
149
+ - ".travis.yml"
150
+ - Appraisals
106
151
  - Gemfile
107
152
  - HISTORY
108
153
  - LICENCE
@@ -110,6 +155,13 @@ files:
110
155
  - Rakefile
111
156
  - bin/combust
112
157
  - combustion.gemspec
158
+ - gemfiles/rails_3.1.gemfile
159
+ - gemfiles/rails_3.2.gemfile
160
+ - gemfiles/rails_4.0.gemfile
161
+ - gemfiles/rails_4.1.gemfile
162
+ - gemfiles/rails_4.2.gemfile
163
+ - gemfiles/rails_5.0.gemfile
164
+ - gemfiles/rails_5_0.gemfile
113
165
  - lib/combustion.rb
114
166
  - lib/combustion/application.rb
115
167
  - lib/combustion/database.rb
@@ -126,7 +178,10 @@ files:
126
178
  - lib/combustion/generator.rb
127
179
  - spec/database_spec.rb
128
180
  - spec/dummy/db/migrate/20150717075542_create_dummy_test_table.rb
181
+ - spec/dummy/db/migrate/20150717075543_create_dummy_test_table_in_another_db.rb
129
182
  - spec/dummy/lib/engine.rb
183
+ - spec/dummy/spec/internal/app/models/model.rb
184
+ - spec/dummy/spec/internal/app/models/model_in_another_db.rb
130
185
  - spec/dummy/spec/internal/config/database.yml
131
186
  - spec/dummy/spec/internal/config/routes.rb
132
187
  - spec/dummy/spec/internal/db/schema.rb
@@ -156,14 +211,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
211
  version: '0'
157
212
  requirements: []
158
213
  rubyforge_project: combustion
159
- rubygems_version: 2.4.8
214
+ rubygems_version: 2.5.2
160
215
  signing_key:
161
216
  specification_version: 4
162
217
  summary: Elegant Rails Engine Testing
163
218
  test_files:
164
219
  - spec/database_spec.rb
165
220
  - spec/dummy/db/migrate/20150717075542_create_dummy_test_table.rb
221
+ - spec/dummy/db/migrate/20150717075543_create_dummy_test_table_in_another_db.rb
166
222
  - spec/dummy/lib/engine.rb
223
+ - spec/dummy/spec/internal/app/models/model.rb
224
+ - spec/dummy/spec/internal/app/models/model_in_another_db.rb
167
225
  - spec/dummy/spec/internal/config/database.yml
168
226
  - spec/dummy/spec/internal/config/routes.rb
169
227
  - spec/dummy/spec/internal/db/schema.rb