Skip to content

Commit

Permalink
Format docs
Browse files Browse the repository at this point in the history
  • Loading branch information
imranismail committed Oct 7, 2018
1 parent 14c963a commit 39e34b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
import_deps: [:plug]
]
3 changes: 2 additions & 1 deletion test/turbolinks_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ defmodule TurbolinksTest do
use ExUnit.Case
use Plug.Test
use Turbolinks

doctest Turbolinks

describe "redirect/2" do
Expand Down Expand Up @@ -41,7 +42,7 @@ defmodule TurbolinksTest do
assert Enum.member?(conn.resp_headers, {"location", "/url"})
assert conn.status == 302
end

test "returns the conn with status 308 if :xhr_status is 308" do
conn =
conn(:post, "/", "")
Expand Down

0 comments on commit 39e34b3

Please sign in to comment.