Sha256: 6c3a68d1f2617085400eab10af55f8634fa68e7a56a8089244b56e6ee69008cf

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

def clean_data_inspector_migration
  Dir.chdir("#{Rails.root}") do
    system "rake db:rollback"
    system "rake db:data_sanity:rollback"
  end
end

def setup_sample_app
  Dir.chdir("#{Rails.root}") do
    system "bundle"
    system "rake db:reset"
  end
end

def setup_data_inspector
  Dir.chdir("#{Rails.root}") do
    system "rake db:data_sanity:migrate"
    system "rake db:migrate"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
data_sanity-0.0.5 spec/support/helper.rb