Displaying 1 result from an estimated 1 matches for "miniskirt".
Did you mean:
minishift
2012 Mar 13
4
minitest validations - is there a cleaner way?
i am trying out minitest, but need some advice on a clean way to test
validations.
I setup my testing to use minitest by following the following railscast
plus i added miniskirt for Factories.
http://railscasts.com/episodes/327-minitest-with-rails
everything works well, but there has to be a cleaner way of testing failed
validations. would i be better off using something besides "must_raise"? if
not, is there a way to make a helper function or something to cle...