rails test:integration
, rails test:controllers
are running fine individually but running rails test
, it fails throwing an error:
ActionView::Template::Error: ActionView::Template::Error: File to import not found or unreadable: bootstrap-sprockets.
bundle exec rake test
also passes all the tests
在运行rails assets:precompile
之后它就可以工作了rails assets:precompile
真的不确定如何。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.