Sha256: 37baadaa49ae6eb0b8376ec945fb1ada045fb82102c95f6fc888b9188ccd157b
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
module RulesEngineUsersMacros def it_should_require_admin_access(*action) it "should require admin access for #{action[0]}" do controller.should_receive(:admin_access_required) get *action end end def it_should_require_login(*action) it "should require login access for #{action[0]}" do controller.should_receive(:login_required) get *action end end end
Version data entries
2 entries across 2 versions & 1 rubygems