diff options
author | francis <francis> | 2007-11-14 01:01:38 +0000 |
---|---|---|
committer | francis <francis> | 2007-11-14 01:01:38 +0000 |
commit | 19529a96c5fdd2f5ae7292728d2bf36d131bc78b (patch) | |
tree | 3b5f7593275e60ceacfcecc4c1349bbb01fb44bd /spec/controllers/request_controller_spec.rb | |
parent | 3a8ef0dcb7658d9c06873cadce4a5b7bceb7767d (diff) |
Model for storing category of response (contains information, rejection etc.)
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index bca0a2a57..5758e2b2a 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -49,7 +49,7 @@ end describe RequestController, "when showing one request" do integrate_views - fixtures :info_requests, :public_bodies, :users # all needed as integrating views + fixtures :info_requests, :public_bodies, :users, :incoming_messages # all needed as integrating views it "should be successful" do get :show, :id => 101 @@ -70,7 +70,7 @@ describe RequestController, "when showing one request" do ir = info_requests(:fancy_dog_request) receive_incoming_mail('incoming-request-plain.email', ir.incoming_email) get :show, :id => 101 - assigns[:correspondences].size.should == 1 + assigns[:correspondences].size.should == 2 end end |