     marketing_channel = Factory.insert!(:channel, name: "elixir")
     post_in_marketing_channel = Factory.insert!(:post, channel: marketing_channel)
 
-    copy = session
-           |> visit(post_path(Endpoint, :show, post_in_marketing_channel))
-           |> find(Query.css(".more-info"))
-           |> Element.text
+    copy =
+      session
+      |> visit(post_path(Endpoint, :show, post_in_marketing_channel))
+      |> find(Query.css(".more-info"))
+      |> Element.text()
 
     {:ok, marketing_content} = File.read("lib/tilex_web/templates/shared/_elixir.html.eex")
     assert copy =~ String.slice(marketing_content, 0, 10)

  test "the page shows a post", %{session: session} do
    developer = Factory.insert!(:developer)
    channel = Factory.insert!(:channel, name: "command-line")
    post = Factory.insert!(:post,
      title: "A special post",
      body: "This is how to be super awesome!",
      developer: developer,
      channel: channel
    )

    session
    |> PostShowPage.navigate(post)


  test "sees raw markdown version", %{session: session} do
    title = "A special post"

    body = """
    # title
    **some text**
    [hashrocket](http://hashrocket.com)
    """

    developer = Factory.insert!(:developer)

    post =
      Factory.insert!(
        :post,
        title: title,
        body: body,
        developer: developer
      )

    session
    |> visit("#{post_path(Endpoint, :show, post)}.md")

    assert text(session) ==
             String.trim("""
             #{title}

             #{body}

             #{developer.username}
             #{TilexWeb.SharedView.display_date(post)}
             """)
  end

  test "via the random url", %{session: session} do
