Sha256: d600be69696bcf9e65fe7fcc517835c24e728f9464edb66463d2046117dbeeed

Contents?: true

Size: 332 Bytes

Versions: 7

Compression:

Stored size: 332 Bytes

Contents

require 'spec_helper'

describe StatRaptor::Error do
  context "#initialize" do
    it "returns an instance of StatRaptor::Error" do
      StatRaptor::Error.new("message").should be_a(StatRaptor::Error)
    end

    it "is a subclass of StandardError" do
      StatRaptor::Error.superclass.should == StandardError
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
statraptor-0.2.6 spec/statrapator/error_spec.rb
statraptor-0.2.5 spec/statrapator/error_spec.rb
statraptor-0.2.4 spec/statrapator/error_spec.rb
statraptor-0.2.3 spec/statrapator/error_spec.rb
statraptor-0.2.2 spec/statrapator/error_spec.rb
statraptor-0.2.1 spec/statrapator/error_spec.rb
statraptor-0.2.0 spec/statrapator/error_spec.rb