calling after create hook direcly in tests

This commit is contained in:
ilya 2010-07-09 17:42:32 -04:00
parent cf352b6f8d
commit 929adca383

View file

@ -12,6 +12,7 @@ describe 'user encryption' do
@u.url = "www.example.com"
@u.profile = Profile.new( :first_name => "Bob", :last_name => "Smith" )
@u.profile.save
@u.send(:assign_key)
@u.save
end