Sha256: 67ad9e23a701261be29a5170a941d42ff59f9ff812589350ed05da464ec67db5

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

require 'helper'

testcase Brite::Config do

  method :location do

    test "config loads given location" do
      config = Brite::Config.new('test/fixture')
      config.assert.location == 'text/fixture'
    end

  end

  method :file do

    test "config find configuraiton file" do
      config = Brite::Config.new('test/fixture')
      config.file.assert == 'test/fixture/brite.yml'
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brite-0.7.0 test/test_config.rb