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.
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.
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. [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs