Sha256: e5c950b5aaa64cd2a7d5979ae090dd079d1e0f3a5e9942c318cbba8d1aa00f6e

Contents?: true

Size: 262 Bytes

Versions: 3

Compression:

Stored size: 262 Bytes

Contents

if defined? ActiveRecord::Migration
  if RSpec::Rails::FeatureCheck.can_maintain_test_schema?
    ActiveRecord::Migration.maintain_test_schema!
  elsif RSpec::Rails::FeatureCheck.can_check_pending_migrations?
    ActiveRecord::Migration.check_pending!
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspectacular-0.57.0 lib/rspectacular/support/active_record.rb
rspectacular-0.56.0 lib/rspectacular/support/active_record.rb
rspectacular-0.55.0 lib/rspectacular/support/active_record.rb