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
diff options
context:
space:
mode:
authorMaxwell Salzberg <maxwell@joindiaspora.com>2012-05-17 04:43:56 +0400
committerMaxwell Salzberg <maxwell@joindiaspora.com>2012-05-17 04:43:56 +0400
commitb124d3e5a1bbd7fd7b6bf078157a19b63ff8a18d (patch)
tree2315dacbce341289507166a016ee14731d9d7627 /spec/controllers/comments_controller_spec.rb
parentc52342b7cb38d25a0f4cb42b5b947d98569eaa37 (diff)
Revert "update factory girl" new version does not support 1.8.7 :(
This reverts commit c52342b7cb38d25a0f4cb42b5b947d98569eaa37.
Diffstat (limited to 'spec/controllers/comments_controller_spec.rb')
-rw-r--r--spec/controllers/comments_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/comments_controller_spec.rb b/spec/controllers/comments_controller_spec.rb
index d4286de90..6a9ce2406 100644
--- a/spec/controllers/comments_controller_spec.rb
+++ b/spec/controllers/comments_controller_spec.rb
@@ -46,7 +46,7 @@ describe CommentsController do
end
it "doesn't overwrite author_id" do
- new_user = FactoryGirl.create(:user)
+ new_user = Factory(:user)
comment_hash[:author_id] = new_user.person.id.to_s
post :create, comment_hash
Comment.find_by_text(comment_hash[:text]).author_id.should == alice.person.id