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 <raphael@joindiaspora.com>2010-11-28 09:31:05 +0300
committerRaphael <raphael@joindiaspora.com>2010-11-28 09:31:05 +0300
commit845e1fe7a3c8d6b2ee073afd34e6ef2166333ebe (patch)
tree23853ffed99370475eda99327c74f72fbcf00314 /spec/controllers/comments_controller_spec.rb
parent4e15745170682628ace220a7c71c73ebeeba35cf (diff)
Fix comments ajax response
Diffstat (limited to 'spec/controllers/comments_controller_spec.rb')
-rw-r--r--spec/controllers/comments_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/comments_controller_spec.rb b/spec/controllers/comments_controller_spec.rb
index a1ac1fd06..992dd37cf 100644
--- a/spec/controllers/comments_controller_spec.rb
+++ b/spec/controllers/comments_controller_spec.rb
@@ -30,6 +30,7 @@ describe CommentsController do
it 'responds to format js' do
post :create, comment_hash.merge(:format => 'js')
response.code.should == '201'
+ response.body.should match comment_hash[:text]
end
end