07-19-2023, 01:11 AM
This is part of my `spec_helper.rb`:
RSpec.configure do |config|
config.before(:each) do
login(email, password)
visit root_url
end
end
that I need in all of my (20+) tests except one.
Is there a way to avoid that **single test** to execute the `before hook`?
RSpec.configure do |config|
config.before(:each) do
login(email, password)
visit root_url
end
end
that I need in all of my (20+) tests except one.
Is there a way to avoid that **single test** to execute the `before hook`?