diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 955d9a5..405eacb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,6 +56,8 @@ jobs: gemfile: rails_4.2_mongoid_5 - ruby: truffleruby gemfile: rails_5.2 + - ruby: truffleruby + gemfile: rails_6.1 allow_failures: - false env: diff --git a/spec/spec_helpers/mongoid.rb b/spec/spec_helpers/mongoid.rb index 2ff478c..56f9fca 100644 --- a/spec/spec_helpers/mongoid.rb +++ b/spec/spec_helpers/mongoid.rb @@ -2,6 +2,7 @@ begin require 'mongoid' + require 'rails' puts "mongoid #{Mongoid::VERSION} gem found, running mongoid specs \e[32m#{'✔'}\e[0m" if Mongoid::VERSION.to_f <= 5