Sha256: 74eddea8f3564d165926f48532fe8b683a86c27b8b3131b0c4bb6f545667a90b

Contents?: true

Size: 1.41 KB

Versions: 7

Compression:

Stored size: 1.41 KB

Contents

#!/bin/bash
bundle exec exe/gnarails new rails-test-app

mkdir rails-test-app/app/views/job_postings
mkdir rails-test-app/db/migrate
mkdir rails-test-app/spec/factories
mkdir rails-test-app/spec/models
mkdir rails-test-app/spec/system
mkdir rails-test-app/spec/requests

cp test-app/app/controllers/job_postings_controller.rb rails-test-app/app/controllers/job_postings_controller.rb
cp test-app/app/models/job_posting.rb rails-test-app/app/models/job_posting.rb
cp test-app/app/models/comment.rb rails-test-app/app/models/comment.rb
cp test-app/app/views/job_postings/index.html.erb rails-test-app/app/views/job_postings/index.html.erb
yes | cp test-app/app/views/layouts/application.html.erb rails-test-app/app/views/layouts/application.html.erb
yes | cp test-app/config/routes.rb rails-test-app/config/routes.rb
cp test-app/db/migrate/20170918002433_create_job_postings.rb rails-test-app/db/migrate/20170918002433_create_job_postings.rb
cp test-app/db/migrate/20170918002455_create_comments.rb rails-test-app/db/migrate/20170918002455_create_comments.rb
cp test-app/spec/factories/job_postings.rb rails-test-app/spec/factories/job_postings.rb
cp test-app/spec/models/job_posting_spec.rb rails-test-app/spec/models/job_posting_spec.rb
cp test-app/spec/system/viewing_all_job_postings_spec.rb rails-test-app/spec/system/viewing_all_job_postings_spec.rb
cp test-app/spec/requests/status_spec.rb rails-test-app/spec/requests/status_spec.rb

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gnarails-3.0.0 bin/generate-test-app.sh
gnarails-2.0.0 bin/generate-test-app.sh
gnarails-1.0.0 bin/generate-test-app.sh
gnarails-0.9.3 bin/generate-test-app.sh
gnarails-0.9.2 bin/generate-test-app.sh
gnarails-0.9.1 bin/generate-test-app.sh
gnarails-0.9.0 bin/generate-test-app.sh