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

Added a view path fallback handling. #16

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Conversation

Jack12816
Copy link
Member

@Jack12816 Jack12816 commented Dec 18, 2023

ActionView::MissingTemplate in FactoryBot::Instrumentation::Root#index
Showing /usr/local/bundle/gems/factory_bot_instrumentation-1.1.1/app/views/factory_bot/instrumentation/root/index.html.erb where line #23 raised:

Missing partial factory_bot/instrumentation/root/_spinner, application/_spinner with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby]}. Searched in:
  * "/app/app/views"
  * "/usr/local/bundle/gems/administrate-0.16.0/app/views"
  * "/usr/local/bundle/gems/factory_bot_instrumentation-1.1.1/app/views"
  * "/usr/local/bundle/gems/kaminari-core-1.2.2/app/views"
  * "/usr/local/bundle/gems/grape-swagger-rails-0.3.1/app/views"

For some reason the "factory_bot/instrumentation/root/_spinner" is searched for, not "factory_bot/instrumentation/application/_spinner" as expected in this case.

@Jack12816 Jack12816 self-assigned this Dec 18, 2023
Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
@Jack12816 Jack12816 merged commit 74de71a into master Dec 18, 2023
@Jack12816 Jack12816 deleted the fix-with-proofless branch December 18, 2023 11:10
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.

1 participant