Displaying 4 results from an estimated 4 matches for "test_admin".
Did you mean:
net_admin
2004 Mar 11
5
win32-etc-0.2.2 testing wanted
I''ve commited code for win32-etc 0.2.2, which adds the configure_user and
configure_group methods. Testing appreciated. On my home system, I can''t
get configure_user to work, but I haven''t any real idea why it fails. The
configure_group method seems to work fine, however.
Dan
_________________________________________________________________
Fast. Reliable. Get
2004 Mar 05
1
win32-etc change_password
Hi all,
I''ve been updating this thing and, on my Windows XP Pro box, the
Admin.change_password method doesn''t seem to work. I keep getting "user
not found" errors, even though I can see that the user is definitely in
place. In fact, it doesn''t seem to work for the 0.2.0 release, even
though I could swear I had it working.
Also, is it possible to change the
2008 Feb 08
0
Challenge! How can I write a test to test the methods in ApplicationController?
...d
class ApplicationControllerTest < Test::Unit::TestCase
fixtures :users
def logger
RAILS_DEFAULT_LOGGER
end
def setup
@controller = ApplicationController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
def test_admin
# Don''t know how to test "admin?"
assert false
end
end
I can run this test successfully, but if I include a call to admin?, I
get a NoMethodError. I also get the same thing if I try testing it in
another controller (which inherits from application.rb).
Any ideas?
Cheers...
2004 Feb 24
2
win32-etc cvs
Hi all,
I''ve got the beginning of win32-etc 0.2.0 checked into cvs. This includes a
new sub-module called Admin that includes the add_user, delete_user, and
change_password methods. I eventually will add a config_user method as
well, plus whatever else I feel like tossing in. :)
One issue I''m having is with the change_password - no matter what I try, I
always get