Fix integration spec
This commit is contained in:
parent
a11507d30c
commit
ebfebb16d7
1 changed files with 2 additions and 1 deletions
|
|
@ -341,7 +341,8 @@ describe 'a user receives a post' do
|
|||
#Create person
|
||||
person = @user2.person
|
||||
id = person.id
|
||||
person.profile = Profile.new(:first_name => 'bob', :last_name => 'billytown', :image_url => "http://clown.com")
|
||||
person.profile.delete
|
||||
person.profile = Profile.new(:first_name => 'bob', :last_name => 'billytown', :image_url => "http://clown.com", :person_id => person.id)
|
||||
person.save
|
||||
|
||||
#Cache profile for checking against marshaled profile
|
||||
|
|
|
|||
Loading…
Reference in a new issue