I'm using devise and in application_controller I have before_filter :authenticate! In sector_controller I have:
skip_filter :authenticate_user!, :only => [:index, :search_categories_by_sector] When I run rspec it says: undefined method authenticate!, even for index action. But I' set skip_filter for index action. Why rspec needs authenticate for index? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.