Sha256: c4e945ff7f1f4ef0e338502b6f8d875c2a4482d9fd09d2817ce0adef0e757e65
Contents?: true
Size: 318 Bytes
Versions: 7
Compression:
Stored size: 318 Bytes
Contents
require 'schema_dev/gemfile_selector' describe SchemaDev::GemfileSelector do it "infers db from env" do test_dbname = 'this_is_a_test' ENV['BUNDLE_GEMFILE'] = SchemaDev::GemfileSelector.gemfile(rails: '4.1', db: test_dbname).to_s expect(SchemaDev::GemfileSelector.infer_db).to eq test_dbname end end
Version data entries
7 entries across 7 versions & 1 rubygems