-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi first of all thank you for taking the time to create an example as this
After cloning the repository I realised that 4 tests are failing.
1) Error:
JwtIssuer::#encode#test_0001_returns a new jwt:
NameError: undefined local variable or method `be_nil' for #<#<Class:0x007f8ce6c6d700>:0x007f8ce6551318>
spec/inventory/services/jwt_issuer_spec.rb:9:in `block (3 levels) in <top (required)>'
2) Error:
JwtIssuer::#decode#test_0001_returns valid informations if the jwt is valid:
NoMethodError: undefined method `eq' for #<#<Class:0x007f8ce6c6d200>:0x007f8ce9080d90>
spec/inventory/services/jwt_issuer_spec.rb:18:in `block (3 levels) in <top (required)>'
3) Error:
JwtIssuer::#decode#test_0002_returns nil if jwt is not valid:
NameError: undefined local variable or method `be_nil' for #<#<Class:0x007f8ce6c6d200>:0x007f8ce907aee0>
spec/inventory/services/jwt_issuer_spec.rb:24:in `block (3 levels) in <top (required)>'
4) Error:
JwtIssuer::#decode#test_0003_returns nil if jwt is expired:
NameError: undefined local variable or method `be_nil' for #<#<Class:0x007f8ce6c6d200>:0x007f8ce907a9b8>
/spec/inventory/services/jwt_issuer_spec.rb:31:in `block (3 levels) in <top (required)>'
Metadata
Metadata
Assignees
Labels
No labels