Extra Assertions
===============
There's a few blocks of code I had to write in tests over and over again. To save time and effort, I made them assertions. These are the ones I came up with so far.
You should just be able to install this as a plugin using
script/plugin install git://github.com/justinweiss/extra_assertions.git
I haven't gemified it yet, but I'll do that later.
Example
=======
Inside your tests:
assert_valid @model
assert_invalid @model
assert_includes [1, 2, 3], 1
assert_not_includes [1, 2, 3], 4
Project
extra_assertions
There's a few blocks of code I had to write in tests over and over again. To save time and effort, I made them assertions. These are the ones I came up with so far.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Development
Dependencies
Project Readme