Created
January 29, 2016 04:45
-
-
Save doomspork/76dccaad7dc1c255b15e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) test does not create resource and renders errors when data is invalid (AssignBug.ThingControllerTest) | |
test/controllers/thing_controller_test.exs:24 | |
** (ArgumentError) assign @owners not available in eex template. | |
Please make sure all proper assigns have been set. If this | |
is a child template, ensure assigns are given explicitly by | |
the parent template as they are not automatically forwarded. | |
Available assigns: [:changeset, :conn, :view_module, :view_template] | |
stacktrace: | |
(phoenix_html) lib/phoenix_html/engine.ex:102: Phoenix.HTML.Engine.fetch_assign/2 | |
(assign_bug) web/templates/thing/new.html.eex:5: AssignBug.ThingView."new.html"/1 | |
(assign_bug) web/templates/layout/app.html.eex:29: AssignBug.LayoutView."app.html"/1 | |
(phoenix) lib/phoenix/view.ex:344: Phoenix.View.render_to_iodata/3 | |
(phoenix) lib/phoenix/controller.ex:633: Phoenix.Controller.do_render/4 | |
(assign_bug) web/controllers/thing_controller.ex:1: AssignBug.ThingController.action/2 | |
(assign_bug) web/controllers/thing_controller.ex:1: AssignBug.ThingController.phoenix_controller_pipeline/2 | |
(assign_bug) lib/phoenix/router.ex:261: AssignBug.Router.dispatch/2 | |
(assign_bug) web/router.ex:1: AssignBug.Router.do_call/2 | |
(assign_bug) lib/assign_bug/endpoint.ex:1: AssignBug.Endpoint.phoenix_pipeline/1 | |
(assign_bug) lib/phoenix/endpoint/render_errors.ex:34: AssignBug.Endpoint.call/2 | |
(phoenix) lib/phoenix/test/conn_test.ex:194: Phoenix.ConnTest.dispatch/5 | |
test/controllers/thing_controller_test.exs:25 | |
........ | |
Finished in 0.3 seconds (0.2s on load, 0.09s on tests) | |
18 tests, 1 failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment