Home jquery-ui-rails breaks rails test
Reply: 0

jquery-ui-rails breaks rails test

user689
1#
user689 Published in July 18, 2018, 10:24 pm

I've added jquery-ui-rails to my project and it's working perfectly in the browser.

But when running tests they fail with an template error.

ActionView::Template::Error: File to import not found or unreadable: jquery-ui/datepicker.

Gemfile

gem 'jquery-rails', '~> 4.3'
gem 'jquery-ui-rails', '~> 6.0'

application.js

//= require jquery3
//= require jquery-ui/widgets/datepicker

application.scss

@import "jquery-ui/datepicker";
@import "jquery-ui/core";
@import "jquery-ui/theme";
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.32133 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO