Skip to content

Instantly share code, notes, and snippets.

Created January 24, 2013 22:25
Show Gist options
  • Save anonymous/4628703 to your computer and use it in GitHub Desktop.
Save anonymous/4628703 to your computer and use it in GitHub Desktop.
module CrudTestsWithAccessControl
def test_get( action, users_with_access = [], var = nil, obj = nil, access_proc=nil)
end
end
-----------------------------
1) Error:
test_get(ActionController::TestCase):
ArgumentError: wrong number of arguments (0 for 1)
/Users/benlieb/my_life/sites/2011/carolinamountainwoodturners.com/apps/cmwt/test/crud_tests_with_access_control.rb:2:in `test_get'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment