diff --git a/Gemfile.lock b/Gemfile.lock index a0c0ff52..2d0f35a5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -101,13 +101,13 @@ GEM barnes (0.0.9) multi_json (~> 1) statsd-ruby (~> 1.1) - base64 (0.2.0) + base64 (0.3.0) bcrypt (3.1.20) - benchmark (0.4.0) - bigdecimal (3.1.9) + benchmark (0.4.1) + bigdecimal (3.2.2) bindata (2.5.0) bindex (0.8.1) - bootsnap (1.18.4) + bootsnap (1.18.6) msgpack (~> 1.2) builder (3.3.0) cancancan (3.6.1) @@ -127,9 +127,9 @@ GEM bigdecimal rexml crass (1.0.6) - csv (3.3.4) + csv (3.3.5) date (3.4.1) - debug (1.10.0) + debug (1.11.0) irb (~> 1.10) reline (>= 0.3.8) devise (4.9.4) @@ -144,9 +144,10 @@ GEM dotenv-rails (3.1.8) dotenv (= 3.1.8) railties (>= 6.1) - drb (2.2.1) + drb (2.2.3) email_validator (2.2.4) activemodel + erb (5.0.1) erubi (1.13.1) faraday (2.12.2) faraday-net_http (>= 2.0, < 3.5) @@ -156,25 +157,24 @@ GEM faraday (>= 1, < 3) faraday-net_http (3.4.0) net-http (>= 0.5.0) - ffi (1.17.1-aarch64-linux-gnu) - ffi (1.17.1-arm64-darwin) - ffi (1.17.1-x86_64-darwin) - ffi (1.17.1-x86_64-linux-gnu) + ffi (1.17.2-aarch64-linux-gnu) + ffi (1.17.2-arm64-darwin) + ffi (1.17.2-x86_64-darwin) + ffi (1.17.2-x86_64-linux-gnu) ffi-compiler (1.3.2) ffi (>= 1.15.5) rake fiber-storage (1.0.1) globalid (1.2.1) activesupport (>= 6.1) - graphql (2.4.16) + graphql (2.5.9) base64 fiber-storage logger hashdiff (1.1.2) hashie (5.0.0) - http (5.2.0) + http (5.3.1) addressable (~> 2.8) - base64 (~> 0.1) http-cookie (~> 1.0) http-form_data (~> 2.2) llhttp-ffi (~> 0.5.0) @@ -199,7 +199,7 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (2.11.3) + json (2.12.2) json-jwt (1.16.7) activesupport (>= 4.2) aes_key_wrap @@ -219,13 +219,13 @@ GEM activerecord kaminari-core (= 1.2.2) kaminari-core (1.2.2) - language_server-protocol (3.17.0.4) + language_server-protocol (3.17.0.5) lint_roller (1.1.0) llhttp-ffi (0.5.1) ffi-compiler (~> 1.0) rake (~> 13.0) logger (1.7.0) - loofah (2.24.0) + loofah (2.24.1) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -293,14 +293,14 @@ GEM prettyprint prettyprint (0.2.0) prism (1.4.0) - psych (5.2.4) + psych (5.2.6) date stringio - public_suffix (6.0.1) + public_suffix (6.0.2) puma (6.6.0) nio4r (~> 2.0) racc (1.8.1) - rack (3.1.13) + rack (3.1.16) rack-cors (2.0.2) rack (>= 2.0.0) rack-oauth2 (2.2.1) @@ -335,7 +335,7 @@ GEM activesupport (= 7.2.2.1) bundler (>= 1.15.0) railties (= 7.2.2.1) - rails-dom-testing (2.2.0) + rails-dom-testing (2.3.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) @@ -351,8 +351,9 @@ GEM thor (~> 1.0, >= 1.2.2) zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.2.1) - rdoc (6.12.0) + rake (13.3.0) + rdoc (6.14.1) + erb psych (>= 4.0.0) regexp_parser (2.10.0) reline (0.6.1) @@ -361,7 +362,7 @@ GEM actionpack (>= 5.2) railties (>= 5.2) rexml (3.4.1) - rubocop (1.75.5) + rubocop (1.77.0) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -369,19 +370,19 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.44.0, < 2.0) + rubocop-ast (>= 1.45.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.44.1) + rubocop-ast (1.45.1) parser (>= 3.3.7.2) prism (~> 1.4) rubocop-capybara (2.22.1) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) - rubocop-graphql (1.5.5) + rubocop-graphql (1.5.6) lint_roller (~> 1.1) rubocop (>= 1.72.1, < 2) - rubocop-minitest (0.38.0) + rubocop-minitest (0.38.1) lint_roller (~> 1.1) rubocop (>= 1.75.0, < 2.0) rubocop-ast (>= 1.38.0, < 2.0) @@ -389,12 +390,12 @@ GEM lint_roller (~> 1.1) rubocop (>= 1.75.0, < 2.0) rubocop-ast (>= 1.38.0, < 2.0) - rubocop-rails (2.31.0) + rubocop-rails (2.32.0) activesupport (>= 4.2.0) lint_roller (~> 1.1) rack (>= 1.1) rubocop (>= 1.75.0, < 2.0) - rubocop-ast (>= 1.38.0, < 2.0) + rubocop-ast (>= 1.44.0, < 2.0) ruby-progressbar (1.13.0) rubyzip (2.4.1) sassc (2.4.0) @@ -409,16 +410,16 @@ GEM parser securerandom (0.4.1) selectize-rails (0.12.6) - selenium-webdriver (4.32.0) + selenium-webdriver (4.34.0) base64 (~> 0.2) logger (~> 1.4) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) - sentry-rails (5.23.0) + sentry-rails (5.26.0) railties (>= 5.0) - sentry-ruby (~> 5.23.0) - sentry-ruby (5.23.0) + sentry-ruby (~> 5.26.0) + sentry-ruby (5.26.0) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) simplecov (0.22.0) @@ -435,10 +436,10 @@ GEM actionpack (>= 6.1) activesupport (>= 6.1) sprockets (>= 3.0.0) - sqlite3 (2.6.0-aarch64-linux-gnu) - sqlite3 (2.6.0-arm64-darwin) - sqlite3 (2.6.0-x86_64-darwin) - sqlite3 (2.6.0-x86_64-linux-gnu) + sqlite3 (2.7.1-aarch64-linux-gnu) + sqlite3 (2.7.1-arm64-darwin) + sqlite3 (2.7.1-x86_64-darwin) + sqlite3 (2.7.1-x86_64-linux-gnu) statsd-ruby (1.5.0) stimulus-rails (1.3.4) railties (>= 6.0.0) @@ -452,7 +453,7 @@ GEM thor (1.3.2) tilt (2.6.0) timeout (0.4.3) - turbo-rails (2.0.13) + turbo-rails (2.0.16) actionpack (>= 7.1.0) railties (>= 7.1.0) tzinfo (2.0.6) @@ -490,7 +491,7 @@ GEM xpath (3.2.0) nokogiri (~> 1.8) yard (0.9.37) - zeitwerk (2.7.2) + zeitwerk (2.7.3) PLATFORMS aarch64-linux diff --git a/test/controllers/term_controller_test.rb b/test/controllers/term_controller_test.rb index 6c0e26a8..78463b04 100644 --- a/test/controllers/term_controller_test.rb +++ b/test/controllers/term_controller_test.rb @@ -30,14 +30,14 @@ class TermControllerTest < ActionDispatch::IntegrationTest sign_in users(:basic) get terms_unconfirmed_path - assert_select 'p.wrap-filters', text: "View:\n Categorized terms\n All terms", count: 0 + assert_select 'p.wrap-filters', text: "View: Categorized terms All terms", count: 0 end test 'admin users see two confirmation options' do sign_in users(:admin) get terms_unconfirmed_path - assert_select 'p.wrap-filters', text: "View:\n Categorized terms\n All terms", count: 1 + assert_select 'p.wrap-filters', text: "View: Categorized terms All terms", count: 1 end test 'basic users cannot access the confirmation option for uncategorized terms' do