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
These assertions are the ones I love from Rspec. It allows you to use domain language in your assertions. Rspec takes advantage of conventions like ? or has_***? for booleans.
The text was updated successfully, but these errors were encountered:
Contains exactly
self assert: aCollection containsExactly: [element1, element2]
dynamic assertions
These assertions are the ones I love from Rspec. It allows you to use domain language in your assertions. Rspec takes advantage of conventions like
?
orhas_***?
for booleans.The text was updated successfully, but these errors were encountered: