Skip to content

Instantly share code, notes, and snippets.

@codetombomb
Created August 29, 2020 22:16
Show Gist options
  • Save codetombomb/5308eadcc3a8e87345a13ee6d071b03f to your computer and use it in GitHub Desktop.
Save codetombomb/5308eadcc3a8e87345a13ee6d071b03f to your computer and use it in GitHub Desktop.
Expectation Basic Structure
#We expect a thing that we set to match an outcome
expect(something).to matcher(outcome)
#We expect a thing that we set not to match an outcome
expect(something).not_to matcher(outcome)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment