Sha256: a5226a98869a3cfb47a45aff3b78e67b55cea3ebb4b23e6455ea99f59e6ac4e9

Contents?: true

Size: 482 Bytes

Versions: 4

Compression:

Stored size: 482 Bytes

Contents

# Encoding: utf-8

require 'spec_helper'
require 'chemistrykit/config/reporting'

describe ChemistryKit::Config::Reporting do

  VALID_REPORTS_PATH = 'evidence'

  before(:each) do
    @reporting =  ChemistryKit::Config::Reporting.new
  end

  it 'should be initialized with no arguments' do
    @reporting.should be_an_instance_of ChemistryKit::Config::Reporting
  end

  it 'should return "evidence" for the log path' do
    @reporting.path.should eq VALID_REPORTS_PATH
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chemistrykit-3.10.1 spec/unit/lib/chemistrykit/config/reporting_spec.rb
chemistrykit-3.10.0 spec/unit/lib/chemistrykit/config/reporting_spec.rb
chemistrykit-3.9.1 spec/unit/lib/chemistrykit/config/reporting_spec.rb
chemistrykit-3.9.0 spec/unit/lib/chemistrykit/config/reporting_spec.rb