{"action":"opened","issue":{"url":"https://api.github.com/repos/antonmi/espec_phoenix/issues/34","repository_url":"https://api.github.com/repos/antonmi/espec_phoenix","labels_url":"https://api.github.com/repos/antonmi/espec_phoenix/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/antonmi/espec_phoenix/issues/34/comments","events_url":"https://api.github.com/repos/antonmi/espec_phoenix/issues/34/events","html_url":"https://github.com/antonmi/espec_phoenix/issues/34","id":169270859,"number":34,"title":"Documentation on upgrading to 0.5?","user":{"login":"fredwu","id":31945,"avatar_url":"https://avatars.githubusercontent.com/u/31945?v=3","gravatar_id":"","url":"https://api.github.com/users/fredwu","html_url":"https://github.com/fredwu","followers_url":"https://api.github.com/users/fredwu/followers","following_url":"https://api.github.com/users/fredwu/following{/other_user}","gists_url":"https://api.github.com/users/fredwu/gists{/gist_id}","starred_url":"https://api.github.com/users/fredwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredwu/subscriptions","organizations_url":"https://api.github.com/users/fredwu/orgs","repos_url":"https://api.github.com/users/fredwu/repos","events_url":"https://api.github.com/users/fredwu/events{/privacy}","received_events_url":"https://api.github.com/users/fredwu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T01:25:16Z","updated_at":"2016-08-04T01:25:16Z","closed_at":null,"body":"Hi @antonmi ,\r\n\r\nFirst of all, thank you so much for bringing espec and espec_phoenix to the ecosystem! \r\n\r\nI have upgraded to v0.5 and as expected most of my test cases no longer work. Some are easier to transition to the \"new approach\", for instance I figured that instead of doing `be_redirection`, we should now use `html_response/2`, etc, however, not all the API changes are obvious, especially when the previous versions provided us with a lot of helper functions (for better or for worse).\r\n\r\nWhat I am curious about is a smoother upgrade path for everyone. For example, if I have this before:\r\n\r\n```elixir\r\nit do: should have_in_flash(success: \"Signed up successfully.\")\r\n```\r\n\r\nDo I now do this instead?\r\n\r\n```elixir\r\nit do: assert get_flash(:success) == \"Signed up successfully.\"\r\n```\r\n\r\nAnd if I had this before:\r\n\r\n```elixir\r\nit do: should render_template(\"edit.html\")\r\n```\r\n\r\nWhat is the equivalent new approach?\r\n\r\nThanks once again for the great library! :)"}}
{"actor":{"display_login":"fredwu"}}