Two ActiveTest Plugins
Posted by Mathew Abonyi Sun, 19 Nov 2006 08:47:30 GMT
In the spirit of getting ActiveTest rolling, I’ve created two plugins (which used to be part of ActiveTest originally, but were later abstracted). The first, ActiveTest Authentication, allows you to test both sides of being logged in. The second, ActiveTest Authorisation, allows you to test both sides of permissions for an action. Both plugins are for the ActiveTest::Controller subject. The first plugin assumes, broadly, you are using AAA or some variant. The second plugin assumes you are producing 403 responses for unpriveleged access.
Installation
$ cd railsproject
$ ./script/plugin source http://mabs29.googlecode.com/svn/trunk/plugins
$ ./script/plugin install active_test_authentication
$ ./script/plugin install active_test_authorisation