Sha256: 82c869e593dacfaa8f69bb247678201a7bfeb29b104dea8991030ed56d125864

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

module Configr
  describe Hash do
    
    it "should have a base error class defined for Configr" do
      Configr::ConfigrError.ancestors.should include(StandardError)
      
      error = Configr::ConfigrError.new("Error data")
      
      error.data.should == "Error data"
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
configr-0.2.0 spec/lib/errors_spec.rb