calling after create hook direcly in tests
This commit is contained in:
parent
cf352b6f8d
commit
929adca383
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue