Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Procfile so we can run as a govuk::app in puppet #115

Merged
merged 2 commits into from
Jan 4, 2018

Conversation

tuzz
Copy link
Contributor

@tuzz tuzz commented Jan 3, 2018

https://trello.com/c/HSre7K10/453-style-the-mvp-email-collection-page-needed-by-jan

The #publishing-frontend team want to be able to work on the gem without
having to mount it into another Rails application first. We can use the
dummy Rails app the test suite uses to achieve this.

Other PR: alphagov/govuk-puppet#7014

The #publishing-frontend team want to be able to work on the gem without
having to mount it into another Rails application first. We can use the
dummy Rails app the test suite uses to achieve this.
@@ -3,13 +3,6 @@
describe 'Component guide index' do
# Load ordering test can only fail if run as the first test in suite
# https://github.com/rails/rails/issues/12168
it 'renders using gem layout not app layout after viewing a page on the application' do
Copy link
Contributor

@NickColley NickColley Jan 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a good idea to remove this test, do we need the redirect?

This test seems reasonable, making sure the gem doesnt accidentally force layout on other parts of the host app.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, having looked again at the test, I agree. I've removed that commit.

@fofr
Copy link
Contributor

fofr commented Jan 4, 2018

Is this also compatible with running on Heroku for review apps? That would be 🎆

@NickColley
Copy link
Contributor

We believe so, but will make any updates if needed to make that happen.

@NickColley NickColley merged commit f47ef7f into master Jan 4, 2018
@NickColley NickColley deleted the add-procfile branch January 4, 2018 11:01
@fofr
Copy link
Contributor

fofr commented Jan 5, 2018

Aww
screen shot 2018-01-05 at 15 33 52

@NickColley
Copy link
Contributor

I wonder if it's possible to tell heroku not to look at the top level directories?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants