Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. % bundle exec rspec -I plugins/redmine_issue_badge/spec -e 'When Administrator' \
  2. --format documentation plugins/redmine_issue_badge/spec/features/badge_spec.rb
  3. Run options: include {:full_description=>/When\ Administrator/}
  4.  
  5. IssueBadge
  6. When Administrator
  7. Global settings for badge option is displayed.
  8. Badge is displayed if global settings badge option is activated. (FAILED - 1)
  9. Badge is not displayed if global settings badge option is dectivated. (FAILED - 2)
  10. Issue badge block is displayed if global settings badge option is activated and click badge. (FAILED - 3)
  11. Issue badge polling is activate if polling option clicked. (FAILED - 4)
  12.  
  13. Failures:
  14.  
  15. 1) IssueBadge When Administrator Badge is displayed if global settings badge option is activated.
  16. Failure/Error: security_notification(user, sender, options).deliver_later
  17.  
  18. ActiveJob::DeserializationError:
  19. Error while trying to deserialize arguments: Couldn't find AnonymousUser with 'id'=2 [WHERE "users"."type" IN ('AnonymousUser')]
  20. # ./app/models/mailer.rb:493:in `block in deliver_security_notification'
  21. # ./app/models/mailer.rb:492:in `each'
  22. # ./app/models/mailer.rb:492:in `deliver_security_notification'
  23. # ./app/models/user.rb:929:in `deliver_security_notification'
  24. # ./plugins/redmine_issue_badge/spec/features/badge_spec.rb:139:in `block (3 levels) in <top (required)>'
  25. # ------------------
  26. # --- Caused by: ---
  27. # ActiveRecord::RecordNotFound:
  28. # Couldn't find AnonymousUser with 'id'=2 [WHERE "users"."type" IN ('AnonymousUser')]
  29. # ./app/models/mailer.rb:493:in `block in deliver_security_notification'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement