Sha256: 48dfa0174b63fbfb860aa1abcbd4e9e97ad68465f00d7efb1cc654a01fd723f3

Contents?: true

Size: 679 Bytes

Versions: 5

Compression:

Stored size: 679 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Daijobu::Error do
  
  it "should be a standard error" do
    Daijobu::Error.ancestors.should include(StandardError)
  end
  
end

describe Daijobu::UnknownScheme do

  it "should be a Daijobu error" do
    Daijobu::UnknownScheme.ancestors.should include(Daijobu::Error)
  end
  
end

describe Daijobu::InvalidAdapter do

  it "should be a Daijobu error" do
    Daijobu::InvalidAdapter.ancestors.should include(Daijobu::Error)
  end
  
end
 
describe Daijobu::NoFallbackScheme do

  it "should be a Daijobu error" do
    Daijobu::NoFallbackScheme.ancestors.should include(Daijobu::Error)
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sander6-daijobu-0.1.0 spec/daijobu/errors_spec.rb
sander6-daijobu-0.1.1 spec/daijobu/errors_spec.rb
sander6-daijobu-0.2.0 spec/daijobu/errors_spec.rb
sander6-daijobu-0.2.1 spec/daijobu/errors_spec.rb
sander6-daijobu-0.3.0 spec/daijobu/errors_spec.rb