spec/rails_app/app/views/layouts/application.html.erb in ajax_pagination-0.6.3 vs spec/rails_app/app/views/layouts/application.html.erb in ajax_pagination-0.6.4

- old
+ new

@@ -1,10 +1,10 @@ <!DOCTYPE html> <html> <head> <title><%= (params[:controller] + " " + params[:action]).titleize %> - RailsApp</title> <%= stylesheet_link_tag "application", :media => "all" %> - <%= javascript_include_tag "application" %> + <%= javascript_include_tag "application" if Rails.application.assets.find_asset('jquery.js') %><%# because RackTest (for specs) cannot find jquery asset %> <%= csrf_meta_tags %> </head> <body> <div id="countajaxloading" style="display: none;">0</div> <script type="text/javascript">