Skip to content

Instantly share code, notes, and snippets.

View psobocinski's full-sized avatar

Paul Sobocinski psobocinski

View GitHub Profile
@psobocinski
psobocinski / dummy_controller.rb
Created January 23, 2016 20:04
Asserting on a JSON response in a Rails controller test with MiniTest
class DummyController < ApplicationController
def do
render json: { balance: 50 }
end
end

Keybase proof

I hereby claim:

  • I am psobocinski on github.
  • I am sobes (https://keybase.io/sobes) on keybase.
  • I have a public key whose fingerprint is 80F0 261D 43A6 480C FA85 38C1 ECF1 67A0 53F5 EC30

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am psobocinski on github.
  • I am sobes_nulogy (https://keybase.io/sobes_nulogy) on keybase.
  • I have a public key whose fingerprint is 3B82 75DE 29E1 6E07 165A CFD0 9483 0A4C 1BDA EFD8

To claim this, I am signing this object: