before_filter/before_action in controller/request specs?

8 views
Skip to first unread message

rlw

unread,
Jul 25, 2018, 4:21:21 AM7/25/18
to rspec
Hi, I've spent quite a bit of time trying to figure out how to skip or stub out several before_filters (yes, rails 3) or before_actions that are in the application_controller.rb file with no success. It seems the #skip_before_filters method is gone, or I'm just not using it correctly.  I really need to just bypass these filters because it's a legacy app and it's not just authentication filters. Are there any good examples using Rspec-rails 3.7.x?

TIA,
-Robert

Reply all
Reply to author
Forward
0 new messages