Sha256: baa8351f2e66ff3ea99040656205b7de768d308abc784739afe358dd9914fee0

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

require_relative '../spec_helper'

describe Bogus::Configuration do
  after { 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

3 entries across 3 versions & 1 rubygems

Version Path
bogus-0.0.3.rc.1 spec/bogus/configuration_spec.rb
bogus-0.0.2 spec/bogus/configuration_spec.rb
bogus-0.0.1 spec/bogus/configuration_spec.rb