Relative Content

Tag Archive for ruby-on-railsrubytestingrspec

How to skip before_action for all rails specs

In my controller i have several before_actions. But I need to skip the specific before_action for all tests. I can’t do this in every test. This should be done at the global level, perhaps in spec_helper or rails_helper.