 
   test "and sees a special slug", %{session: session} do
     post = Factory.insert!(:post, title: "Super Sluggable Title")
-    url = visit(session, post_path(Endpoint, :show, post))
-      |> current_url
+    url = session
+          |> visit(post_path(Endpoint, :show, post))
+          |> current_url
 
     assert url =~ "#{post.slug}-super-sluggable-title"
 
     changeset = Post.changeset(post, %{title: "Alternate Also Cool Title"})
     Repo.update!(changeset)
     post = Repo.get(Post, post.id)
-    url = visit(session, post_path(Endpoint, :show, post))
-      |> current_url
+    url = session
+          |> visit(post_path(Endpoint, :show, post))
+          |> current_url
 
     assert url =~ "#{post.slug}-alternate-also-cool-title"
   end

                           developer: developer)


    visit(session, post_path(Endpoint, :show, post))
    |> find(Query.css(".post a.post__raw-link"))
    |> Element.click()


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

    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

