Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-08-06 02:45:05 +0400
committerRaphael Sofaer <raphael@joindiaspora.com>2011-08-06 02:45:05 +0400
commit7052654b255ee13b7daf621f117d91fb14afba2d (patch)
treea6b45af08a71f0da5598050c2d3b3051f693977f /spec
parentc7360fe6cec203db649b2dfa9cdd6880ec44dfaa (diff)
Update factorygirl, fix the searcheable_person factory to work with factory_girl 2.0.3
Diffstat (limited to 'spec')
-rw-r--r--spec/factories.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories.rb b/spec/factories.rb
index a294c4362..bf6640a67 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -30,7 +30,7 @@ end
Factory.define :searchable_person, :parent => :person do |p|
p.after_build do |person|
- person.profile.searchable = true
+ person.profile = Factory.build(:profile, :person => person, :searchable => true)
end
end