我安装了will_paginate-bootstrap
gem 并将其添加到我的模板中
<%= will_paginate, renderer: BootstrapPagination::Rails %>
现在我的测试失败了
Failure/Error: visit users_path
ActionView::Template::Error:
/Users/user/dev/rails/my/app_rails/app/views/users/index.html.erb:10: syntax error, unexpected tLABEL, expecting '='
...end= ( will_paginate, renderer: BootstrapPagination::Rails )...
... ^
# <internal:prelude>:10:in `synchronize'
# ./spec/requests/user_pages_spec.rb:24:in `block (4 levels) in <top (required)>'
这条消息是什么意思?如何修复损坏的测试?