aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorfrancis <francis>2009-10-04 22:01:33 +0000
committerfrancis <francis>2009-10-04 22:01:33 +0000
commitcbc588bebfce742adcebebb3e9135c2149d46343 (patch)
treeb72a259cf6ae1234e39f65fc3e6cd27c89d9e552 /spec/controllers/request_controller_spec.rb
parent6ee71c76ed9ca3b0c7e14ffa463348b815b68cfa (diff)
Remove debugging.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index 65ee8684b..847928076 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -314,7 +314,7 @@ describe RequestController, "when creating a new request" do
deliveries.size.should == 1
mail = deliveries[0]
mail.body.should =~ /This is a silly letter. It is too short to be interesting./
- STDERR.puts "=====" + mail.body + "======"
+ #STDERR.puts "=====" + mail.body + "======"
response.should redirect_to(:action => 'show', :url_title => ir.url_title)
end
@@ -781,6 +781,7 @@ describe RequestController, "when sending a followup message" do
mail = deliveries[0]
mail.body.should =~ /What a useless response! You suck./
mail.to_addrs.to_s.should == "FOI Person <foiperson@localhost>"
+ #STDERR.puts "=====" + mail.body + "======"
response.should redirect_to(:action => 'show', :url_title => info_requests(:fancy_dog_request).url_title)