Skip to content

Instantly share code, notes, and snippets.

@lulalala
Created May 27, 2016 01:36
Embed
What would you like to do?
# controller
@open_id = params[:open].to_i
# spec
expect(assigns(:open_id)).to eq(@params[:open].to_i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment