Skip to content

Instantly share code, notes, and snippets.

@escowles
Created April 23, 2018 20:36
Show Gist options
  • Select an option

  • Save escowles/41aa739415dcea1943e781e4ff03d492 to your computer and use it in GitHub Desktop.

Select an option

Save escowles/41aa739415dcea1943e781e4ff03d492 to your computer and use it in GitHub Desktop.
rspec spec/views/scanned_resources/order_manager.html.erb_spec.rb
E, [2018-04-23T16:31:22.719402 #90669] ERROR -- ddtrace: [ddtrace] (/Users/escowles/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/ddtrace-0.11.2/lib/ddtrace/contrib/http/patcher.rb:71:in `rescue in patch') Unable to apply net/http integration: method `initialize' not defined in Net::HTTP
Randomized with seed 12806
FF
Failures:
1) valhalla/base/order_manager.html.erb renders correctly
Failure/Error: render
ActionView::Template::Error:
Webpacker can't find ordermanager.js in /Users/escowles/src/figgy/public/packs-test/manifest.json. Possible causes:
1. You want to set webpacker.yml value of compile to true for your environment
unless you are using the `webpack -w` or the webpack-dev-server.
2. webpack has not yet re-run to reflect updates.
3. You have misconfigured Webpacker's config/webpacker.yml file.
4. Your webpack configuration is not creating a manifest.
Your manifest contains:
{
"_/_/_/app/assets/images/default.png": "/packs-test/_/_/_/app/assets/images/default-1927ff44629d419a4bb2dfdc4317a78a.png",
"_/_/_/app/assets/images/default_vol.png": "/packs-test/_/_/_/app/assets/images/default_vol-6307afcef289ce38b0880c2bd03657f0.png",
"filemanager.css": "/packs-test/filemanager-1fa0bb161fc236311e4350990b6a77eb.css",
"filemanager.css.map": "/packs-test/filemanager-1fa0bb161fc236311e4350990b6a77eb.css.map",
"filemanager.js": "/packs-test/filemanager-6e49a4d076c3dca796ba.js",
"filemanager.js.map": "/packs-test/filemanager-6e49a4d076c3dca796ba.js.map"
}
# ./valhalla/app/views/valhalla/base/order_manager.html.erb:2:in `block in _valhalla_app_views_valhalla_base_order_manager_html_erb__4394781149144006374_70288957704180'
# ./valhalla/app/views/valhalla/base/order_manager.html.erb:1:in `_valhalla_app_views_valhalla_base_order_manager_html_erb__4394781149144006374_70288957704180'
# ./spec/views/scanned_resources/order_manager.html.erb_spec.rb:16:in `block (2 levels) in <top (required)>'
# ./spec/support/view_verify_doubles.rb:6:in `block (3 levels) in <top (required)>'
# ./spec/support/view_verify_doubles.rb:4:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Webpacker::Manifest::MissingEntryError:
# Webpacker can't find ordermanager.js in /Users/escowles/src/figgy/public/packs-test/manifest.json. Possible causes:
# 1. You want to set webpacker.yml value of compile to true for your environment
# unless you are using the `webpack -w` or the webpack-dev-server.
# 2. webpack has not yet re-run to reflect updates.
# 3. You have misconfigured Webpacker's config/webpacker.yml file.
# 4. Your webpack configuration is not creating a manifest.
# Your manifest contains:
# {
# "_/_/_/app/assets/images/default.png": "/packs-test/_/_/_/app/assets/images/default-1927ff44629d419a4bb2dfdc4317a78a.png",
# "_/_/_/app/assets/images/default_vol.png": "/packs-test/_/_/_/app/assets/images/default_vol-6307afcef289ce38b0880c2bd03657f0.png",
# "filemanager.css": "/packs-test/filemanager-1fa0bb161fc236311e4350990b6a77eb.css",
# "filemanager.css.map": "/packs-test/filemanager-1fa0bb161fc236311e4350990b6a77eb.css.map",
# "filemanager.js": "/packs-test/filemanager-6e49a4d076c3dca796ba.js",
# "filemanager.js.map": "/packs-test/filemanager-6e49a4d076c3dca796ba.js.map"
# }
# ./valhalla/app/views/valhalla/base/order_manager.html.erb:2:in `block in _valhalla_app_views_valhalla_base_order_manager_html_erb__4394781149144006374_70288957704180'
2) valhalla/base/order_manager.html.erb when given a MVW renders a breadcrumb for the parent
Failure/Error: render
ActionView::Template::Error:
Webpacker can't find ordermanager.js in /Users/escowles/src/figgy/public/packs-test/manifest.json. Possible causes:
1. You want to set webpacker.yml value of compile to true for your environment
unless you are using the `webpack -w` or the webpack-dev-server.
2. webpack has not yet re-run to reflect updates.
3. You have misconfigured Webpacker's config/webpacker.yml file.
4. Your webpack configuration is not creating a manifest.
Your manifest contains:
{
"_/_/_/app/assets/images/default.png": "/packs-test/_/_/_/app/assets/images/default-1927ff44629d419a4bb2dfdc4317a78a.png",
"_/_/_/app/assets/images/default_vol.png": "/packs-test/_/_/_/app/assets/images/default_vol-6307afcef289ce38b0880c2bd03657f0.png",
"filemanager.css": "/packs-test/filemanager-1fa0bb161fc236311e4350990b6a77eb.css",
"filemanager.css.map": "/packs-test/filemanager-1fa0bb161fc236311e4350990b6a77eb.css.map",
"filemanager.js": "/packs-test/filemanager-6e49a4d076c3dca796ba.js",
"filemanager.js.map": "/packs-test/filemanager-6e49a4d076c3dca796ba.js.map"
}
# ./valhalla/app/views/valhalla/base/order_manager.html.erb:2:in `block in _valhalla_app_views_valhalla_base_order_manager_html_erb__4394781149144006374_70288957704180'
# ./valhalla/app/views/valhalla/base/order_manager.html.erb:1:in `_valhalla_app_views_valhalla_base_order_manager_html_erb__4394781149144006374_70288957704180'
# ./spec/views/scanned_resources/order_manager.html.erb_spec.rb:16:in `block (2 levels) in <top (required)>'
# ./spec/support/view_verify_doubles.rb:6:in `block (3 levels) in <top (required)>'
# ./spec/support/view_verify_doubles.rb:4:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Webpacker::Manifest::MissingEntryError:
# Webpacker can't find ordermanager.js in /Users/escowles/src/figgy/public/packs-test/manifest.json. Possible causes:
# 1. You want to set webpacker.yml value of compile to true for your environment
# unless you are using the `webpack -w` or the webpack-dev-server.
# 2. webpack has not yet re-run to reflect updates.
# 3. You have misconfigured Webpacker's config/webpacker.yml file.
# 4. Your webpack configuration is not creating a manifest.
# Your manifest contains:
# {
# "_/_/_/app/assets/images/default.png": "/packs-test/_/_/_/app/assets/images/default-1927ff44629d419a4bb2dfdc4317a78a.png",
# "_/_/_/app/assets/images/default_vol.png": "/packs-test/_/_/_/app/assets/images/default_vol-6307afcef289ce38b0880c2bd03657f0.png",
# "filemanager.css": "/packs-test/filemanager-1fa0bb161fc236311e4350990b6a77eb.css",
# "filemanager.css.map": "/packs-test/filemanager-1fa0bb161fc236311e4350990b6a77eb.css.map",
# "filemanager.js": "/packs-test/filemanager-6e49a4d076c3dca796ba.js",
# "filemanager.js.map": "/packs-test/filemanager-6e49a4d076c3dca796ba.js.map"
# }
# ./valhalla/app/views/valhalla/base/order_manager.html.erb:2:in `block in _valhalla_app_views_valhalla_base_order_manager_html_erb__4394781149144006374_70288957704180'
Finished in 12.73 seconds (files took 12.49 seconds to load)
2 examples, 2 failures
Failed examples:
rspec ./spec/views/scanned_resources/order_manager.html.erb_spec.rb:19 # valhalla/base/order_manager.html.erb renders correctly
rspec ./spec/views/scanned_resources/order_manager.html.erb_spec.rb:28 # valhalla/base/order_manager.html.erb when given a MVW renders a breadcrumb for the parent
Randomized with seed 12806
Coverage report generated for RSpec to /Users/escowles/src/figgy/coverage. 1651 / 13181 LOC (12.53%) covered.
[Coveralls] Outside the CI environment, not sending data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment