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
context is nil in this case, with the current command's code. A check for nil? would fix the error however, it would then disallow running the non-enclosed shoulds.
Additionally, even if the context being nil issue was solved, no focused should would be ran since should belong_to :user doesn't have any quotation marks to match. This is likely something that can't - without a lot of work - be hacked around.
This simple case fails:
It results in:
-:16: undefined method `empty?' for nil:NilClass (NoMethodError) This doesn't appear to be a TestCase class.
The text was updated successfully, but these errors were encountered: