Skip to content

Instantly share code, notes, and snippets.

View kinnou02's full-sized avatar

Alexandre Jacquin kinnou02

View GitHub Profile
@kinnou02
kinnou02 / gist:954940
Created May 4, 2011 08:43
the impossible is possible
==30038==
--30038-- VALGRIND INTERNAL ERROR: Valgrind received a signal 7 (SIGBUS) - exiting
--30038-- si_code=80; Faulting address: 0x0; sp: 0x4038a9dc0
valgrind: the 'impossible' happened:
Killed by fatal signal
==30038== at 0x38033154: unlinkBlock (m_mallocfree.c:245)
==30038== by 0x3803670D: vgPlain_arena_free (m_mallocfree.c:1518)
==30038== by 0x38062093: vgPlain_cli_free (replacemalloc_core.c:92)
==30038== by 0x38001D71: die_and_free_mem (mc_malloc_wrappers.c:123)
require 'spec_helper'
describe User do
it{ should have_field(:email).of_type(String) }
it{ should have_field(:username).of_type(String) }
it{ should have_field(:password_hash).of_type(String) }
it{ should have_field(:password_salt).of_type(String) }
it{ should have_field(:activation_token).of_type(String) }