Content
View differences
Updated by Jens Ulferts over 12 years ago
The specs for logging the requesting user fail arbitrarily:
```
1) ApplicationController with log_requesting_user enabled should log the current user
Failure/Error: "Newline (#{user.login} ID: #{user.id} <#{user.mail}>)"
expected: "OpenProject User: Bob Crazy! Name with ## Newline (bob1044 ID: 1361 <bob1036.bobbit@bob.com>)"
got: "OpenProject User: Crazy! Name with ## Newline Bob (bob1044 ID: 1361 <bob1036.bobbit@bob.com>)" (using ==)
# ./spec/controllers/application_controller_spec.rb:60:in `block (3 levels) in <top (required)>'
```
```
1) ApplicationController with log_requesting_user enabled should log the current user
Failure/Error: "Newline (#{user.login} ID: #{user.id} <#{user.mail}>)"
expected: "OpenProject User: Bob Crazy! Name with ## Newline (bob1044 ID: 1361 <bob1036.bobbit@bob.com>)"
got: "OpenProject User: Crazy! Name with ## Newline Bob (bob1044 ID: 1361 <bob1036.bobbit@bob.com>)" (using ==)
# ./spec/controllers/application_controller_spec.rb:60:in `block (3 levels) in <top (required)>'
```