sebbacon/alaveteli — Issue #409: Sporadic test failures in request_controller_spec.rb
Author: robinhouston
Created: 2012-02-03 16:18:39+00:00
State: open

1)
'RequestController sending overdue request alerts should send an overdue alert mail to creators of overdue requests' FAILED
expected: /promptly, as normally/,
got: " Department for Humpadinking are long overdue.\n\n They have not replied to your FOI request Are you really a badger?,\n as required by law.\n\n Click on the link below to send a message to Department for\n Humpadinking telling them to reply to your request. You might like\n to ask for an internal review, asking them to find out why response\n to the request has been so slow.\n\n http://test.localdomain/en/c/iecyi8qhiw8p7750yy5\n\n -- the Alaveteli team\n\n\n" (using =~)
./spec/controllers/request_controller_spec.rb:1325:
script/spec:10:

2)
'RequestController sending overdue request alerts should include clause for schools when sending an overdue alert mail to creators of overdue requests' FAILED
expected: /promptly, as normally/,
got: " Department for Humpadinking are long overdue.\n\n They have not replied to your FOI request Are you really a badger?,\n as required by law.\n\n Click on the link below to send a message to Department for\n Humpadinking telling them to reply to your request. You might like\n to ask for an internal review, asking them to find out why response\n to the request has been so slow.\n\n http://test.localdomain/en/c/fkhamzvdvijg8yasovo\n\n -- the Alaveteli team\n\n\n" (using =~)
./spec/controllers/request_controller_spec.rb:1353:
script/spec:10:

3)
'RequestController sending overdue request alerts should send a very overdue alert mail to creators of very overdue requests' FAILED
expected: #,
got: # (using ==)
./spec/controllers/request_controller_spec.rb:1390:
script/spec:10: