From 00ecb3cb581e0952de82c43ce51ae51c1bcb7f09 Mon Sep 17 00:00:00 2001 From: francis Date: Tue, 27 May 2008 01:57:02 +0000 Subject: Remove escaping of HTML from text alert emails. --- spec/controllers/admin_request_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/controllers/admin_request_controller_spec.rb') diff --git a/spec/controllers/admin_request_controller_spec.rb b/spec/controllers/admin_request_controller_spec.rb index 9fb621b25..ff0f74aed 100644 --- a/spec/controllers/admin_request_controller_spec.rb +++ b/spec/controllers/admin_request_controller_spec.rb @@ -17,7 +17,7 @@ describe AdminRequestController, "when administering requests" do end it "saves edits to a request" do - info_requests(:fancy_dog_request).title.should == "Why do you have such a fancy dog?" + info_requests(:fancy_dog_request).title.should == "Why do you have & such a fancy dog?" post :update, { :id => info_requests(:fancy_dog_request), :info_request => { :title => "Renamed", :prominence => "normal", :described_state => "waiting_response", :awaiting_description => false } } response.flash[:notice].should include('successful') ir = InfoRequest.find(info_requests(:fancy_dog_request).id) -- cgit v1.2.3