Open brandoncc opened 8 years ago
After adding this to my application.js:
$(function() { Turbolinks.ProgressBar.enable(); });
Most of my capybara specs failed with this javascript error (although the progress bar worked when I ran the app):
TypeError: 'undefined' is not an object (evaluating 'Turbolinks.ProgressBar.enable')
I was able to fix it by using Turbolinks.enableProgressBar(); instead.
Turbolinks.enableProgressBar();
After adding this to my application.js:
Most of my capybara specs failed with this javascript error (although the progress bar worked when I ran the app):
I was able to fix it by using
Turbolinks.enableProgressBar();
instead.