diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 93c25469..88aca149 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest services: mongo: - image: mongo:3.6 + image: mongo:7.0.14 ports: - 27017:27017 diff --git a/Gemfile b/Gemfile index 3634cdb0..15b3a10e 100644 --- a/Gemfile +++ b/Gemfile @@ -20,7 +20,7 @@ gem 'sinatra-simple-navigation', '~> 4.0' gem 'versionomy' group :test do - gem 'database_cleaner' + gem 'database_cleaner-mongoid' gem 'factory_bot' gem 'minitest' gem 'rack-test' diff --git a/Gemfile.lock b/Gemfile.lock index a05501e2..4ea1c597 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,16 +3,11 @@ GEM specs: activemodel (5.2.8.1) activesupport (= 5.2.8.1) - activerecord (5.2.8.1) - activemodel (= 5.2.8.1) - activesupport (= 5.2.8.1) - arel (>= 9.0) activesupport (5.2.8.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) - arel (9.0.0) ast (2.4.2) base64 (0.2.0) bigdecimal (3.1.8) @@ -21,12 +16,10 @@ GEM builder (3.3.0) concurrent-ruby (1.3.4) csv (3.3.0) - database_cleaner (2.0.2) - database_cleaner-active_record (>= 2, < 3) - database_cleaner-active_record (2.2.0) - activerecord (>= 5.a) - database_cleaner-core (~> 2.0.0) database_cleaner-core (2.0.1) + database_cleaner-mongoid (2.0.1) + database_cleaner-core (~> 2.0.0) + mongoid domain_name (0.6.20240107) dry-core (1.0.1) concurrent-ruby (~> 1.0) @@ -160,7 +153,7 @@ PLATFORMS DEPENDENCIES activesupport - database_cleaner + database_cleaner-mongoid factory_bot geocoder grape (~> 1.8.0)