Skip to content

Instantly share code, notes, and snippets.

View tsubery's full-sized avatar

Gal Tsubery tsubery

  • Galt Agency Inc.
  • Austin, TX
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tsubery on github.
  • I am tsubery (https://keybase.io/tsubery) on keybase.
  • I have a public key whose fingerprint is 3E56 B798 4134 DE08 42FC 93AC 5E15 EC51 86B5 8511

To claim this, I am signing this object:

@tsubery
tsubery / phoenix_session_test.md
Last active August 8, 2024 14:11
How to set session in phoenix controller tests

If you are reading this, you probably tried to write code like this

test "testing session" do
  build_conn()
  |> put_session(:user_id, 234)
  |> get("/")
  ...
  end

And got this exception: