Sha256: 9951acf2e5f136651aff3a745dd6aa813cb0871d9d43f98e9c6ed4b7f14c1d59
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true shared_examples 'uses postgresql database' do context do it do database_file = content('config/database.yml') expect(database_file).to match(/^connection: &connection/) expect(database_file).to match(/^ database: #{app_name}_staging/) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cybele-2.3.2 | spec/support/shared_examples/postgresql_test_helper.rb |
cybele-2.3.1 | spec/support/shared_examples/postgresql_test_helper.rb |