module TestHelpers
  module ParamsFixtures
    def params_fixture
      DefaultConfiguration.get.merge({
          databases: %w(postgresql mysql redis),
          background_jobs: %w(delayed_job sidekiq),
          server_type: 'nginx_unicorn',
          vm_name: 'testapp',
          vm_os: 'ubuntu/trusty64',
          server_name: 'localhost',
          ruby_install: 'rvm',
          ruby_version: '2.1.2',
          rails_version: '4',
          postgresql_db_name: 'testapp',
          postgresql_db_user: 'vagrant',
          postgresql_db_password: 'vagrant',
          postgresql_orm: 'activerecord',
          mysql_db_name: 'testapp',
          mysql_db_user: 'vagrant',
          mysql_db_password: 'vagrant',
          mysql_orm: 'activerecord',
          mongodb_db_name: 'testapp',
          mongodb_orm: 'mongoid',
          redis_orm: 'redis-rb',
          delayed_job_app_name: 'testapp-delayed_job',
          delayed_job_command: 'bin/delayed_job run',
          sidekiq_app_name: 'testapp-sidekiq',
          sidekiq_command: 'sidekiq' })
    end
  end
end
