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
with_data forces the user to pass full data all the time.
What if we need to check a particular key only and other keys are NOT the subject of a spec?
# matchers with full dataexpect(result).tobe_success.with_data({foo: :bar,baz: :qux})# matchers with partial dataexpect(result).tobe_success.with_partial_data({{foo: :bar})
featureFeature was the initial reason of the PR. From Conventional Commits.
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
with_data
forces the user to pass full data all the time.What if we need to check a particular key only and other keys are NOT the subject of a spec?
Beta Was this translation helpful? Give feedback.
All reactions