update will_paginate to 3.3.0

This commit is contained in:
Jonne Haß 2020-03-20 14:21:55 +01:00
parent de4a416280
commit 60a50c881d
3 changed files with 4 additions and 4 deletions

View file

@ -193,7 +193,7 @@ gem "gon", "6.3.2"
gem "hamlit", "2.11.0" gem "hamlit", "2.11.0"
gem "mobile-fu", "1.4.0" gem "mobile-fu", "1.4.0"
gem "rails-timeago", "2.17.1" gem "rails-timeago", "2.17.1"
gem "will_paginate", "3.1.7" gem "will_paginate", "3.3.0"
# Logging # Logging

View file

@ -779,7 +779,7 @@ GEM
websocket-driver (0.7.1) websocket-driver (0.7.1)
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.4) websocket-extensions (0.1.4)
will_paginate (3.1.7) will_paginate (3.3.0)
xpath (3.2.0) xpath (3.2.0)
nokogiri (~> 1.8) nokogiri (~> 1.8)
yard (0.9.24) yard (0.9.24)
@ -929,7 +929,7 @@ DEPENDENCIES
uuid (= 2.3.9) uuid (= 2.3.9)
versionist (= 2.0.1) versionist (= 2.0.1)
webmock (= 3.8.3) webmock (= 3.8.3)
will_paginate (= 3.1.7) will_paginate (= 3.3.0)
BUNDLED WITH BUNDLED WITH
1.17.3 1.17.3

View file

@ -14,7 +14,7 @@ describe TagsController, type: :request do
get "/tags/#{tag}" get "/tags/#{tag}"
expect(response.status).to eq(200) expect(response.status).to eq(200)
expect(response.body).to match(/div class="pagination"/) expect(response.body).to match(/class="pagination"/)
expect(response.body).to match(/href="\/tags\/#{tag}\?page=2"/) expect(response.body).to match(/href="\/tags\/#{tag}\?page=2"/)
end end