Skip to content

Commit

Permalink
Fix app specs
Browse files Browse the repository at this point in the history
  • Loading branch information
comandeo-mongo committed Sep 20, 2024
1 parent 89507b7 commit 58c5087
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
10 changes: 0 additions & 10 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -802,13 +802,3 @@ buildvariants:
display_name: "FLE: ${rails}, ${driver}, ${mongodb-version}"
tasks:
- name: "test"

- matrix_name: atlas-full
matrix_spec:
ruby: ruby-3.2
os: actual-ubuntu-22.04
auth: auth
ssl: ssl
display_name: "Atlas (Full)"
tasks:
- name: testatlas_task_group
10 changes: 0 additions & 10 deletions .evergreen/config/variants.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,3 @@ buildvariants:
display_name: "FLE: ${rails}, ${driver}, ${mongodb-version}"
tasks:
- name: "test"

- matrix_name: atlas-full
matrix_spec:
ruby: ruby-3.2
os: actual-ubuntu-22.04
auth: auth
ssl: ssl
display_name: "Atlas (Full)"
tasks:
- name: testatlas_task_group
3 changes: 2 additions & 1 deletion spec/integration/app_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def adjust_app_gemfile(rails_version: SpecConfig.instance.rails_version)

gemfile_lines = IO.readlines('Gemfile')
gemfile_lines.delete_if do |line|
line =~ /mongoid/
line =~ /mongoid/ || line =~ /sprockets/
end
gemfile_lines << "gem 'mongoid', path: '#{File.expand_path(BASE)}'\n"
if rails_version
Expand All @@ -280,6 +280,7 @@ def adjust_app_gemfile(rails_version: SpecConfig.instance.rails_version)
gemfile_lines << "gem 'rails', '~> #{rails_version}.0'\n"
end
end
gemfile_lines << "gem 'sprockets-rails'\n"
File.open('Gemfile', 'w') do |f|
f << gemfile_lines.join
end
Expand Down

0 comments on commit 58c5087

Please sign in to comment.