Sha256: 9888d12f6af62efccc5c3129a7cfe6076a4598b7560f8d4b87f78df3f1ba5b72

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true

# Checks for pending migrations and applies them before tests are run.
# If you are not using ActiveRecord, you can remove these lines.
begin
  ActiveRecord::Migration.maintain_test_schema!
rescue ActiveRecord::PendingMigrationError => e
  puts e.to_s.strip
  exit 1
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
defra_ruby_features-0.1.4 spec/support/migrations.rb
defra_ruby_features-0.1.3 spec/support/migrations.rb
defra_ruby_features-0.1.2 spec/support/migrations.rb
defra_ruby_features-0.1.1 spec/support/migrations.rb
defra_ruby_features-0.1.0 spec/support/migrations.rb