Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
amyschools committed Nov 2, 2016
1 parent 197ab15 commit 6923e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/api_case.ex
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ defmodule CodeCorps.ApiCase do
conn |> get(path)
end

def request_create(conn, attrs) do
def request_create(conn, attrs \\ %{}) do
path = conn |> path_for(:create)
payload = json_payload(factory_name, attrs)
conn |> post(path, payload)
Expand Down

0 comments on commit 6923e13

Please sign in to comment.