Assert method is not visible?


#1

Hi,

test “is_admin method is not visible” do
get :is_admin
assert_???
end

is_admin is protected and should stay that way forever. What assertion
do I use?

M.


#2

What response do you expect from get: is_admin? What will a user see if
he
calls it up from a browser?

Colin

2009/5/29 Michal B. removed_email_address@domain.invalid