Skip to content

Instantly share code, notes, and snippets.

@jacobat
Forked from unreal/gist:629921
Created October 16, 2010 15:47
Show Gist options
  • Save jacobat/629931 to your computer and use it in GitHub Desktop.
Save jacobat/629931 to your computer and use it in GitHub Desktop.
test "should fail without some param" do
thing = Thing.new(@valid_params.delete[:some_param])
assert !thing.valid?
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment