Sha256: 042aff3c81df9ce364b37dd694e7ddabfc30dfdccfacea574385aa5acb3e2598

Contents?: true

Size: 381 Bytes

Versions: 8

Compression:

Stored size: 381 Bytes

Contents

require_relative '../spec_helper'

describe Bogus::Configuration do
  before { Bogus.reset! }

  it "stores the modules to be searched" do
    Bogus.configure do |c|
      c.search_modules << String
    end

    Bogus.config.search_modules.should == [Object, String]
  end

  it "defaults search_modules to [Object]" do
    Bogus.config.search_modules.should == [Object]
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bogus-0.1.4 spec/bogus/configuration_spec.rb
bogus-0.1.3 spec/bogus/configuration_spec.rb
bogus-0.1.2 spec/bogus/configuration_spec.rb
bogus-0.1.1 spec/bogus/configuration_spec.rb
bogus-0.1.0 spec/bogus/configuration_spec.rb
bogus-0.0.4 spec/bogus/configuration_spec.rb
bogus-0.0.3 spec/bogus/configuration_spec.rb
bogus-0.0.3.rc.2 spec/bogus/configuration_spec.rb