Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % bundle exec rspec -I plugins/redmine_issue_badge/spec -e 'When Administrator' \
- --format documentation plugins/redmine_issue_badge/spec/features/badge_spec.rb
- Run options: include {:full_description=>/When\ Administrator/}
- IssueBadge
- When Administrator
- Global settings for badge option is displayed.
- Badge is displayed if global settings badge option is activated. (FAILED - 1)
- Badge is not displayed if global settings badge option is dectivated. (FAILED - 2)
- Issue badge block is displayed if global settings badge option is activated and click badge. (FAILED - 3)
- Issue badge polling is activate if polling option clicked. (FAILED - 4)
- Failures:
- 1) IssueBadge When Administrator Badge is displayed if global settings badge option is activated.
- Failure/Error: security_notification(user, sender, options).deliver_later
- ActiveJob::DeserializationError:
- Error while trying to deserialize arguments: Couldn't find AnonymousUser with 'id'=2 [WHERE "users"."type" IN ('AnonymousUser')]
- # ./app/models/mailer.rb:493:in `block in deliver_security_notification'
- # ./app/models/mailer.rb:492:in `each'
- # ./app/models/mailer.rb:492:in `deliver_security_notification'
- # ./app/models/user.rb:929:in `deliver_security_notification'
- # ./plugins/redmine_issue_badge/spec/features/badge_spec.rb:139:in `block (3 levels) in <top (required)>'
- # ------------------
- # --- Caused by: ---
- # ActiveRecord::RecordNotFound:
- # Couldn't find AnonymousUser with 'id'=2 [WHERE "users"."type" IN ('AnonymousUser')]
- # ./app/models/mailer.rb:493:in `block in deliver_security_notification'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement