diff options
author | David Cabo <david@calibea.com> | 2011-08-15 11:46:08 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-08-15 11:46:08 +0200 |
commit | c775e74d5bdb45043b7d1ac6e6f330a33c5f05e2 (patch) | |
tree | 1a05541d281acc92bf7d272ee64f6b81a4e0978e /spec/controllers/request_controller_spec.rb | |
parent | c7f4962974d814a820fcb5bda6440a8f0ac64eec (diff) | |
parent | 239120b6d180ac0c60b6e3fc44c2bc192c828e12 (diff) |
Merge branch 'master' of github.com:sebbacon/alaveteli
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 4afc8f876..dcd33d279 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -778,6 +778,8 @@ describe RequestController, "when classifying an information request" do @dog_request.stub!(:date_very_overdue_after).and_return(Time.now.to_date-1) expect_redirect('waiting_response', unhappy_url) flash[:notice].should match(/is long overdue/) + flash[:notice].should match(/by more than 40 working days/) + flash[:notice].should match(/within 20 working days/) end it 'should redirect to the "request url" when status is updated to "not held"' do |