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

remove Rails application fallback from AD::IntegrationTest #4147

Merged
merged 1 commit into from Dec 24, 2011

Conversation

lest
Copy link
Contributor

@lest lest commented Dec 23, 2011

set AD::IntegrationTest.app in railtie initializer

@josevalim
Copy link
Contributor

Hrm... there is an issue here. This will force IntegrationTest and everything else to be loaded in develoment and production environments and we don't want that. :( On the other hand, we cannot hardcode this to Rails.env.test? because people may have other testing environments. Unsure. :(

@lest
Copy link
Contributor Author

lest commented Dec 23, 2011

Maybe add mattr_accessor :app to ActionDispatch and fallback to it in AD::IntegrationTest?

@josevalim
Copy link
Contributor

Great idea! mattr_accessor :test_app will be better though.

set AD::IntegrationTest.app in railtie initializer
@lest
Copy link
Contributor Author

lest commented Dec 23, 2011

commit updated

josevalim added a commit that referenced this pull request Dec 24, 2011
remove Rails application fallback from AD::IntegrationTest
@josevalim josevalim merged commit 34bbf84 into rails:master Dec 24, 2011
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.

None yet

2 participants