Skip to content

Instantly share code, notes, and snippets.

View a-mellor's full-sized avatar

Alex Mellor a-mellor

  • Ad Signal
  • London
View GitHub Profile
@JunichiIto
JunichiIto / alias_matchers.md
Last active May 28, 2024 12:04
List of alias matchers in RSpec 3

This list is based on aliases_spec.rb.

You can see also Module: RSpec::Matchers API.

matcher aliased to description
a_truthy_value be_truthy a truthy value
a_falsey_value be_falsey a falsey value
be_falsy be_falsey be falsy
a_falsy_value be_falsey a falsy value
@davepoon
davepoon / gist:4371622
Created December 25, 2012 04:29
Added the .gitignore, and refresh the file index so the files get ignored properly.
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"