You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)>'
The text was updated successfully, but these errors were encountered:
Hi @BenBach and thank you for taking the time to submit an issue :)
I'm a bit confused.
Reading the title of this issue seems you had a problem that concerns the password, but the stack trace highlights some weird errors related to JWT's tests, or better, to minitest gem (undefined local variable or method be_nil').
I'm not able to reproduce your error locally both with Ruby 2.3.0 and 2.3.1, all my tests are green.
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.
The text was updated successfully, but these errors were encountered: