Sha256: 187960727bfbb59713beaf3332573a262d3f8623de7985e6c10a0d52496ed9e5

Contents?: true

Size: 1.84 KB

Versions: 21

Compression:

Stored size: 1.84 KB

Contents

test:
  clients:
    default:
      database: mongoid_test
      hosts:
        <% SpecConfig.instance.addresses.each do |address| %>
          - <%= address %>
        <% end %>
      options:
        user: "mongoid-user"
        password: "password"
        auth_source: "admin"
        read:
          mode: :primary_preferred
          tag_sets:
            - use: web
        max_pool_size: 1
        server_selection_timeout: 3.14
    reports:
      database: reports
      hosts:
        <% SpecConfig.instance.addresses.each do |address| %>
          - <%= address %>
        <% end %>
      options:
        user: "mongoid-user"
        password: "password"
        auth_source: "admin"
        server_selection_timeout: 3.14
  options:
    include_root_in_json: false
    include_type_for_serialization: false
    preload_models: false
    scope_overwrite_exception: false
    raise_not_found_error: true
    use_activesupport_time_zone: true
    use_utc: false
    log_level: :warn
    belongs_to_required_by_default: false
    app_name: 'testing'
    background_indexing: false
    join_contexts: false
  driver_options:
    broken_view_options: false
    # Don't set validate_update_replace here, as it is used to check if the
    # default driver options are kept in Mongoid.
test_nil:
  clients:
    default:
      database: mongoid_test
      hosts:
        <% SpecConfig.instance.addresses.each do |address| %>
          - <%= address %>
        <% end %>
  driver_options:
    broken_view_options:
    validate_update_replace: false

test_with_max_staleness:
  clients:
    default:
      database: mongoid_test
      hosts:
        <% SpecConfig.instance.addresses.each do |address| %>
          - <%= address %>
        <% end %>
      options:
        read:
          mode: :primary_preferred
          max_staleness: 100
        server_selection_timeout: 3.14

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
mongoid-8.0.10 spec/config/mongoid.yml
mongoid-8.1.10 spec/config/mongoid.yml
mongoid-8.1.9 spec/config/mongoid.yml
mongoid-8.0.9 spec/config/mongoid.yml
mongoid-8.1.8 spec/config/mongoid.yml
mongoid-8.1.7 spec/config/mongoid.yml
mongoid-8.1.6 spec/config/mongoid.yml
mongoid-8.0.8 spec/config/mongoid.yml
mongoid-8.1.5 spec/config/mongoid.yml
mongoid-8.1.4 spec/config/mongoid.yml
mongoid-8.0.7 spec/config/mongoid.yml
mongoid-8.1.3 spec/config/mongoid.yml
mongoid-8.1.2 spec/config/mongoid.yml
mongoid-8.0.6 spec/config/mongoid.yml
mongoid-8.1.1 spec/config/mongoid.yml
mongoid-8.0.5 spec/config/mongoid.yml
mongoid-8.1.0 spec/config/mongoid.yml
mongoid-8.0.4 spec/config/mongoid.yml
mongoid-8.0.3 spec/config/mongoid.yml
mongoid-8.0.2 spec/config/mongoid.yml