Forum: Ruby on Rails assert method is not visible?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Michal B. (Guest)
on 2009-05-29 20:38
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.
Colin L. (Guest)
on 2009-05-30 11:32
(Received via mailing list)
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>
This topic is locked and can not be replied to.