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:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-03-14 19:38:54 +0300
committerRaphael Sofaer <raphael@joindiaspora.com>2011-03-14 21:39:31 +0300
commit4b4654a4084d797c732e69207e4c60c3beb2264d (patch)
tree06c1271b05e0aaaacb0bc7e31e59e2096c8fff9c /spec/controllers/comments_controller_spec.rb
parentadbd23ec5031d7fc2bfbf0b4c4924aeb54130d66 (diff)
Changing message to text, partway done, deleted data conversion
Diffstat (limited to 'spec/controllers/comments_controller_spec.rb')
-rw-r--r--spec/controllers/comments_controller_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/comments_controller_spec.rb b/spec/controllers/comments_controller_spec.rb
index f003ae71c..0f2b3897e 100644
--- a/spec/controllers/comments_controller_spec.rb
+++ b/spec/controllers/comments_controller_spec.rb
@@ -24,7 +24,7 @@ describe CommentsController do
}
context "on my own post" do
before do
- @post = @user1.post :status_message, :message => 'GIANTS', :to => @aspect1.id
+ @post = @user1.post :status_message, :text => 'GIANTS', :to => @aspect1.id
end
it 'responds to format js' do
post :create, comment_hash.merge(:format => 'js')
@@ -35,7 +35,7 @@ describe CommentsController do
context "on a post from a contact" do
before do
- @post = @user2.post :status_message, :message => 'GIANTS', :to => @aspect2.id
+ @post = @user2.post :status_message, :text => 'GIANTS', :to => @aspect2.id
end
it 'comments' do
post :create, comment_hash
@@ -56,7 +56,7 @@ describe CommentsController do
end
context 'on a post from a stranger' do
before do
- @post = eve.post :status_message, :message => 'GIANTS', :to => eve.aspects.first.id
+ @post = eve.post :status_message, :text => 'GIANTS', :to => eve.aspects.first.id
end
it 'posts no comment' do
@user1.should_not_receive(:comment)