Is there a way to detect within an Rspec example whether JavaScript is currently active?
I have a helper function that needs to react differently depending on JavaScr