Sha256: d5798162f33a103b88217a1f31210621ba5b9f1abe6182ad4ca2ab22984cb979
Contents?: true
Size: 548 Bytes
Versions: 18
Compression:
Stored size: 548 Bytes
Contents
require 'rails/generators' class TestAppGenerator < Rails::Generators::Base source_root Rails.root def update_app Bundler.with_clean_env do run "bundle install" end end def run_qa_installer generate "qa:install" end def run_local_authority_installer generate "qa:local:files" generate "qa:local:tables" end def copy_local_authority_fixtures directory "../spec/fixtures/authorities", "config/authorities" end def run_migrations rake "qa:install:migrations" rake "db:migrate" end end
Version data entries
18 entries across 18 versions & 1 rubygems