Sha256: b0fa26d2461e455cc4f6f59aeadf244b135bdfca8e57fe0c9ef76602bccdc157

Contents?: true

Size: 320 Bytes

Versions: 7

Compression:

Stored size: 320 Bytes

Contents

require 'spec_helper'

describe Mongoid::Report::Config do
  it 'allows to set aggregation threads' do
    expect(Mongoid::Report::Config.use_threads_on_aggregate).to eq(false)
    Mongoid::Report::Config.use_threads_on_aggregate = true
    expect(Mongoid::Report::Config.use_threads_on_aggregate).to eq(true)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mongoid-report-0.2.2 spec/mongoid/report/config_spec.rb
mongoid-report-0.2.1 spec/mongoid/report/config_spec.rb
mongoid-report-0.2.0 spec/mongoid/report/config_spec.rb
mongoid-report-0.1.9 spec/mongoid/report/config_spec.rb
mongoid-report-0.1.7 spec/mongoid/report/config_spec.rb
mongoid-report-0.1.6 spec/mongoid/report/config_spec.rb
mongoid-report-0.1.5 spec/mongoid/report/config_spec.rb