Some simple extra rails assertions
License
justinweiss/extra_assertions
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
Some simple extra rails assertions
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published