A fork of Phlip's assert2 (http://assert2.rubyforge.org) with bug fixes and merged assert_latest assert { foo == 42 } # For Rails or anything responding to .maximum and .find assert_latest Account, User do account = Account.create(:name => 'Foo Mart') account.users.create(:login => 'foo-guy') end # You can grab the created records thusly: account, user = assert_latest Account, User do account = Account.create(:name => 'Foo Mart') account.users.create(:login => 'foo-guy') end
Project
lodestone-assert-agile
Assertion Sugar. Better block assertions - Forked from assert2.rubyforge.org
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Dependencies
Runtime
Project Readme