Testing Phoenix Views
Last updated 16 November 2016
Phoenix views are a great place to pull logic out of your templates, but they can be confusing to test due to the way Phoenix generates html. Peter explains how to test them properly.
Thoughts about the internet, on the internet
Last updated 16 November 2016
Phoenix views are a great place to pull logic out of your templates, but they can be confusing to test due to the way Phoenix generates html. Peter explains how to test them properly.
Last updated 26 October 2016
Peter continues to find out how to apply basic Rails idioms in the world of Elixir and Phoenix. Today he shows how to perform scoped database finds.
Last updated 21 September 2016
Peter has been coming to the Phoenix framework from Rails, so he has to relearn how to accomplish certain tasks that he repeatedly has to do in Rails. Today he discusses how to require a user for certain controller actions.
Last updated 17 August 2016
Like many rails devs, Peter has been exploring elixir and the phoenix framework. Here, he explains how to set the current user in a way that is easier to test.